Share via


Start

Applies To: Windows 8, Windows 8.1

Starts a recording.

HRESULT Start
  ([in] IProfileCollection* pProfileCollection,
  [out, retval] CLoggingMode* pLoggingMode)
;

Parameters

  • pProfileCollection
    [in] A pointer to an IProfileCollection object that contains a collection of profiles to start.
  • pLoggingMode
    [out] A pointer to a CLoggingMode enumeration element that indicates whether the profiles log to memory or write to a file.

Return Value

The following table describes possible return values.

Return Value Description

S_OK

The function successfully started the recording.

E_INVALIDARG

One or more arguments are invalid.

One or more arguments are invalid.

The pointer is invalid.

E_WPRC_FAILED_TO_START_PROFILE

The library failed to start a profile in the profile collection. Use IControlErrorInfo to obtain detailed error information.

See Also

Reference

IControlManager