IDebugControl3::CoerceValues method (dbgeng.h)

The CoerceValues method converts an array of values into an array of values of different types.

Syntax

HRESULT CoerceValues(
  [in]  ULONG        Count,
  [in]  PDEBUG_VALUE In,
  [in]  PULONG       OutTypes,
  [out] PDEBUG_VALUE Out
);

Parameters

[in] Count

Specifies the number of values to convert.

[in] In

Specifies the array of values to convert. The number of elements that this array holds is Count.

[in] OutTypes

Specifies the array of desired types for the converted values. For possible values, see DEBUG_VALUE. The number of elements that this array holds is Count.

[out] Out

Specifies the array to be populated by the converted values. The types of these values are specified by OutType. The number of elements that this array holds is Count.

Return value

Return code Description
S_OK
The method was successful.

This method may also return error values. See Return Values for more details.

Remarks

This method converts an array of values of one type into values of another type. Some of these conversions can result in loss of precision.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

CoerceValue

DEBUG_VALUE

IDebugControl

IDebugControl2

IDebugControl3