Previous | Next |
The GetSystemProfileCount method retrieves the number of system profiles.
Syntax
HRESULT GetSystemProfileCount(
DWORD* pcProfiles
);
Parameters
pcProfiles
[out] Pointer to a count of the system profiles.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Meaning |
E_OUTOFMEMORY | There is not enough available memory. |
E_INVALIDARG | The pcProfiles parameter is NULL. |
Remarks
This method should be used in conjunction with LoadSystemProfile to iterate through the system profiles.
See Also
Previous | Next |