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 |