![]() |
| Previous | Next |
The LoadProfileByID method loads a profile identified by its GUID.
Syntax
HRESULT LoadProfileByID(
REFGUID guidProfile,
IWMProfile** ppProfile
);
Parameters
guidProfile
[in] GUID identifying the profile.
ppProfile
[out] Pointer to a pointer to an IWMProfile object.
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 ppProfile parameter is NULL. |
See Also
| Previous | Next |