Returns a CLSID identifying the document type.
HRESULT GetDocumentClassId( CLSID* pclsidDocument );
- pclsidDocument
[out] A CLSID identifying the document type.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK | The method succeeded. |
This method allows the debugger IDE to host custom viewers for this document.
If the document does not have viewable data, the return value of pclsidDocument is CLSID_NULL.