IPersistMessage::GetClassID

Last modified: July 23, 2011

Applies to: Outlook

Returns an identifier that represents the form server that can manage the form.

HRESULT GetClassID(
  LPCLSID lpClassID
);

lpClassID

[in, out] A pointer to the class identifier (CLSID) of the form.

S_OK

The class identifier was successfully returned.

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.

Show: