共用方式為


CComCoClass::GetObjectCLSID

Provides a consistent way of retrieving the object's CLSID.

static const CLSID& WINAPI GetObjectCLSID( );

Return Value

The object's class identifier.

Requirements

Header: atlcom.h

See Also

Reference

CComCoClass Class

Other Resources

CComCoClass Members