IDebugProperty3::CreateObjectID
Creates a unique ID for this property to ensure that it is unique among all other properties.
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 IDebugProperty3::DestroyObjectID method is called; this also signals the end of the need for uniquely identifying this property.
Nota
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.