IDebugControl::CoerceValues method

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       OutType,
  [out] PDEBUG_VALUE Out
);

Parameters

Count [in]

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.

OutType [in]

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 codeDescription
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

Target platform

Desktop

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugControl
IDebugControl2
IDebugControl3
CoerceValue
DEBUG_VALUE

 

 

Send comments about this topic to Microsoft

Show: