IPersistMessage::GetClassID

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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.

See Also

Reference

IPersistMessage : IUnknown