IPersistMessage::GetClassID
Applies to: Office 2010 | Outlook 2010 | Visual Studio
Returns an identifier that represents the form server that can manage the form.
HRESULT GetClassID(
LPCLSID lpClassID
);
Parameters
- lpClassID
[in, out] A pointer to the class identifier (CLSID) of the form.
Return Value
- S_OK
The class identifier was successfully returned.
Remarks
The IPersistMessge::GetClassID method sets the contents of the lpClassID parameter to the form server's class identifier and returns S_OK. When a form viewer calls GetClassID and it returns successfully, the form is placed in the Uninitialized state.
For more information about how class identifiers are used with structured storage objects, see the documentation for the IPersist::GetClassID method.