Previous | Next |
The SetProfile method specifies the profile to use for the current writing task, by using a pointer to an IWMProfile object.
Syntax
HRESULT SetProfile(
IWMProfile* pProfile
);
Parameters
pProfile
[in] 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 |
NS_E_INVALID_STATE | The writer is not in a configurable state. |
Remarks
Calling this method removes any previously set header attribute information.
See Also
Previous | Next |