IDebugProperty3::CreateObjectID
Note
This article applies to Visual Studio 2015. 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 unique ID for this property to ensure that it is unique among all other properties.
Syntax
HRESULT CreateObjectID(
void
);
int CreateObjectID();
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
This method is called when the session debug manager wants to make sure that this property is uniquely identified among all other properties. The debug engine (DE) supports this method unless the properties it deals with are already uniquely identified. If the DE does not support this method, it returns E_NOTIMPL
.
Any unique ID created with CreateObjectID
is destroyed when the DestroyObjectID method is called; this also signals the end of the need for uniquely identifying this property.
Note
There is no method to retrieve this unique ID, so the DE can do whatever it wants for unique IDs when the CreateObjectID
method is called.