IPersistMessage::GetClassID
Applies to: Outlook 2013 | Outlook 2016
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.