DRAFT: Take more than your usual care.

NetBiosClose

A service DLL running in a SVCHOST process calls this function to close its access to the NetBIOS.

Declaration

Access to the function is indirect, through the NetBiosClose member of the SVCHOST_GLOBAL_DATA structure whose address was passed to the service DLL’s SvchostPushServiceGlobals function. The member has the following type definition:

typedef VOID (WINAPI *) LPNET_BIOS_CLOSE (VOID);

Behaviour

The function decrements a reference count for access to the NetBIOS, i.e., of calls to NetBiosOpen balanced by calls to NetBiosClose. If there is no outstanding reference, the function clears its record of which LANAs have been reset.

Availability

The NetBiosOpen function is exposed to service DLLs by SVCHOST.EXE in versions 5.1 and higher.