Enumeration Functions
If your network provider needs to support browsing of its network resources, it should implement the following functions. MPR calls these functions to enumerate the resources.
A network provider is not required to implement any of the enumeration functions. If, however, a network provider implements either NPOpenEnum, NPEnumResource, or NPCloseEnum, it must also implement the other two enumeration functions.
Function | Description |
---|---|
NPOpenEnum | Opens an enumeration of network resources or existing connections. |
NPEnumResource | Performs an enumeration on a handle returned by NPOpenEnum. |
NPCloseEnum | Closes an enumeration. |
NPGetResourceInformation | Determines whether the provider is the correct provider to respond to a request for a specified network resource and returns information about the resource's type. |
NPGetResourceParent | Returns the parent of a specified network resource in the browse hierarchy. |