MgmGroupEnumerationEnd function (mgm.h)

The MgmGroupEnumerationEnd function releases the specified enumeration handle that was obtained from a previous call to MgmGroupEnumerationStart.

Syntax

DWORD MgmGroupEnumerationEnd(
  [in] HANDLE hEnum
);

Parameters

[in] hEnum

Specifies the enumeration handle to release.

Return value

If the function succeeds, the return value is NO_ERROR.

If the function fails, the return value is one of the following error codes.

Value Meaning
ERROR_CAN_NOT_COMPLETE
Could not complete the call to this function.
ERROR_INVALID_PARAMETER
Invalid enumeration handle.
 
 

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mgm.h
Library Rtm.lib
DLL Rtm.dll

See also

MgmGroupEnumerationGetNext

MgmGroupEnumerationStart