Expand Minimize
This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 1/2/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.