Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Notifies the system that the application is about to end an operation
Every call to OperationStart must be followed by a call to OperationEnd, otherwise the operation's record of file access patterns is discarded after 10 seconds.
Syntax
BOOL OperationEnd(
[in] OPERATION_END_PARAMETERS *OperationEndParams
);
Parameters
[in] OperationEndParams
An _OPERATION_END_PARAMETERS structure that specifies VERSION, OPERATION_ID and FLAGS.
Return value
TRUE for all valid parameters and FALSE otherwise. To get extended error information, call GetLastError.
Remarks
The version of the _OPERATION_END_PARAMETERS structure is defined as OPERATION_API_VERSION in the Windows SDK.
The OperationEnd function is safe to call on any thread.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Target Platform | Windows |
| Header | winbase.h (include Windows.h) |
| Library | Advapi32.lib |
| DLL | Advapi32.dll |
See also