Export (0) Print
Expand All

OPERATION_END_PARAMETERS structure

This structure is used by the OperationEnd function.

Syntax


typedef struct _OPERATION_END_PARAMETERS {
  ULONG        Version;
  OPERATION_ID OperationId;
  ULONG        Flags;
} OPERATION_END_PARAMETERS, *POPERATION_END_PARAMETERS;

Members

Version

This parameter should be initialized to the OPERATION_API_VERSION 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_END_DISCARD
1

Specifies that the system should discard the information it has been tracking for this operation. Specify this flag when the operation either fails or does not follow the expected sequence of steps.

 

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_START_PARAMETERS
OPERATION_ID

 

 

Community Additions

ADD
Show:
© 2014 Microsoft