Expand Minimize

NPCloseEnum function

The NPCloseEnum function closes an enumeration.

Syntax


DWORD NPCloseEnum(
  _In_  HANDLE hEnum
);

Parameters

hEnum [in]

Handle obtained from an NPOpenEnum call.

Return value

If the function succeeds, it will return WN_SUCCESS. Otherwise, it will return an error code, which can be one of the following:

Return codeDescription
WN_NO_NETWORK

The network is not present. This condition is checked before hEnum is tested for validity.

WN_BAD_HANDLE

hEnum is not a valid handle.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Npapi.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft