Share via


IDebugTypeFieldBuilder::CreatePointerToType

Creates a pointer to the specified type.

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

Reference

IDebugTypeFieldBuilder