Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the ClassID of an object, given its ObjectID.
Syntax
HRESULT GetClassFromObject(
[in] ObjectID objectId,
[out] ClassID *pClassId);
Parameters
objectId
[in] The ID of the object for which to get the ClassID.
pClassId
[out] A pointer to the returned ClassID.
Remarks
A null pClassId indicates that objectId has a type that is unloading.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.