OPERATION_START_PARAMETERS structure (winbase.h)

This structure is used by the OperationStart function.

Syntax

typedef struct _OPERATION_START_PARAMETERS {
  ULONG        Version;
  OPERATION_ID OperationId;
  ULONG        Flags;
} OPERATION_START_PARAMETERS, *POPERATION_START_PARAMETERS;

Members

Version

This parameter should be initialized to the OPERATION_API_VERSION value defined in the Windows SDK.

Value Meaning
OPERATION_API_VERSION
1
This API was introduced in Windows 8 and Windows Server 2012 as version 1.

OperationId

Each operation has an OPERATION_ID namespace that is unique for each process. If two applications both use the same OPERATION_ID value to identify two operations, the system maintains separate contexts for each operation.

Flags

The value of this parameter can include any combination of the following values.

Value Meaning
OPERATION_START_TRACE_CURRENT_THREAD
1
Specifies that the system should only track the activities of the calling thread in a multi-threaded application. Specify this flag when the operation is performed on a single thread to isolate its activity from other threads in the process.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header winbase.h (include Windows.h)

See also

OPERATION_END_PARAMETERS

OPERATION_ID

Operation Recorder

OperationEnd

OperationStart