IDebugTypeFieldBuilder::CreatePointerToType

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Creates a pointer to the specified type.

Syntax

HRESULT CreatePointerToType(
   IDebugField*  pTypeField,
   IDebugField** pPtrToTypeField
);
int CreatePointerToType(
   IDebugField     pTypeField,
   out IDebugField pPtrToTypeField
);

Parameters

pTypeField
[in] Type to point to. It is represented by the IDebugField interface.

pPtrToTypeField
[out] Returns the pointer represented by a new IDebugField object.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See also