PCLOSE_SERVICE_ENUMERATION_HANDLE callback function (stm.h)
The CloseServiceEnumerationHandle function terminates the enumeration and frees associated resources.
Syntax
PCLOSE_SERVICE_ENUMERATION_HANDLE PcloseServiceEnumerationHandle;
DWORD PcloseServiceEnumerationHandle(
[in] HANDLE EnumerationHandle
)
{...}
Parameters
[in] EnumerationHandle
Handle that specifies the enumeration to terminate, obtained from a previous call to CreateServiceEnumerationHandle.
Return value
If the functions succeeds, the return value is NO_ERROR.
If the function fails, the return value is ERROR_CAN_NOT_COMPLETE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | stm.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for