EnableBootRecording

Enables boot recording for the specified profile collection.

Syntax

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.

IOnOffTransitionManager