Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Disables boot recording for the specified profile collection.
Syntax
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. |