DisableBootRecording
Applies To: Windows 8, Windows 8.1
Disables boot recording for the specified profile collection.
HRESULT DisableBootRecording
([in] IProfileCollection* pProfileCollection)
;
Parameters
- pProfileCollection
[in] A pointer to an IProfileCollection object that contains a collection of profiles that must be removed so that they do not start during boot.
Return Value
The following table describes possible return values.
Return Value | Description |
---|---|
S_OK |
The function successfully disabled boot recording. |
E_WPRC_FAILED_TO_DISABLE_PROFILES_FOR_BOOT_TRACING |
The library failed to remove the profiles. Use IControlErrorInfo to get detailed error information. |