OPERATION_END_PARAMETERS structure (winbase.h)

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.

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_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

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_ID

OPERATION_START_PARAMETERS

Operation Recorder

OperationEnd

OperationStart