Condividi tramite


IDebugDocument2::GetDocumentClassID

Gets the class identifier of the document.

HRESULT GetDocumentClassID( 
   CLSID* pclsid
);
int GetDocumentClassID( 
   out Guid pclsid
);

Parameters

  • pclsid
    [out] Returns a GUID that is the class ID of the document.

Return Value

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

Remarks

The class GUID can be used to instantiate individual classes each of which represents a document.

See Also

Reference

IDebugDocument2