GetObjectType
Returns the type of the object that caused the error.
Syntax
HRESULT GetObjectType
([out, retval] CObjectType* pObjectType)
;
Parameters
pObjectType
[out] Pointer to the CObjectType field that indicates the element that caused the error.
Return Value
The following table describes possible return values.
Return Value | Description |
---|---|
S_OK |
The function successfully returned the object type. |
E_POINTER |
Invalid pointer. |
Remarks
The object type can be any of the following values:
Unknown
Profile
Collector
Provider