Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

IDebugControl::CoerceValue method

The CoerceValue method converts a value of one type into a value of another type.

Syntax


HRESULT CoerceValue(
  [in]  PDEBUG_VALUE In,
  [in]  ULONG        OutType,
  [out] PDEBUG_VALUE Out
);

Parameters

In [in]

Specifies the value to be converted

OutType [in]

Specifies the desired type for the converted value. See DEBUG_VALUE for possible values.

Out [out]

Receives the converted value. The type of this value will be the type specified by OutType.

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 a value of one type into a value of another type. If the specified OutType is not capable of containing the information supplied by the In variable, data will be lost.

Requirements

Target platform

Desktop

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugControl
IDebugControl2
IDebugControl3
DEBUG_VALUE

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft