A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



Netbios

The Netbios function interprets and executes the specified network control block (NCB).

VB4-32,5,6
Declare Function Netbios Lib "netapi32.dll" Alias "Netbios" (pncb As NCB) As Byte

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Netapi32

Parameter Information
- pncb
Pointer to an NCB structure describing the network control block.

Return Values
For synchronous requests, the return value is the return code of the NCB structure. That value is also returned in the ncb_retcode member of the NCB structure.

There are two return value possibilities for accepted asynchronous requests. If the asynchronous command has already completed when Netbios returns to its caller, the return value is the return code of the NCB structure, just as if it were a synchronous NCB structure. If the asynchronous command is still pending when Netbios returns to its caller, the return value is zero.

If the address specified by the pncb parameter is invalid, the return value is NRC_BADNCB.

Last update: 07 April 2006