Export (0) Print
Expand All

OPERATION_START_PARAMETERS structure

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.

ValueMeaning
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.

ValueMeaning
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

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 Recorder
OperationStart
OperationEnd
OPERATION_END_PARAMETERS
OPERATION_ID

 

 

Community Additions

ADD
Show:
© 2014 Microsoft