CloseServiceEnumerationHandle

[This is preliminary documentation and subject to change.]

The CloseServiceEnumerationHandle function terminates the enumeration and frees associated resources.

DWORD CloseServiceEnumerationHandle (
  IN HANDLE    EnumerationHandle
  );
 

Parameters

EnumerationHandle
Handle that identifies the enumeration to terminate, obtained from a previous call to CreateServiceEnumerationHandle.

Return Values

NO_ERROR
The enumeration was terminated successfully.
ERROR_CAN_NOT_COMPLETE
Operation failed.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in user-defined.
  Import Library: user-defined.

See Also

CreateServiceEnumerationHandle