HRESULT GetInstanceCount(
long FAR *pcRet// out
);
The GetInstanceCount function returns the total count of instances stored in the CPC, for all of the enabled types. Note that there is no way to check the number of instances of each type other than counting them.
This function returns one of the following values.
Value | Meaning |
---|---|
S_OK | Success |
E_FAIL | Failure |