Share via


EnableBootRecording

Applies To: Windows 8, Windows 8.1

Enables boot recording for the specified profile collection.

HRESULT EnableBootRecording
  ([in] IProfileCollection* pProfileCollection)
;

Parameters

  • pProfileCollection
    [in] A pointer to an IProfileCollection object that contains a collection of profiles to start during boot.

Return Value

The following table describes possible return values.

Return Value Description

S_OK

The function successfully enabled boot recording.

E_WPRC_FAILED_TO_ENABLE_PROFILES_FOR_BOOT_TRACING

The library failed to save the profiles. Use IControlErrorInfo to get detailed error information.

See Also

Reference

IOnOffTransitionManager