|
RtnGetDeviceName returns a pointer to the ASCII character name associated with this driver instance. Since the driver will normally store the ASCII device name of this instance of the driver in the local configuration data structure in the RtndInitialize routine, the RtnGetDeviceName routine can be used in RtndConfigure to find the local configuration data structure associated with this driver instance. The index (or pointer to) the local configuration data structure is then stored in the network device data structure with RtnSetDataLong for ease of access elsewhere in the driver.
Syntax
char * RtnGetDeviceName( void *ndp );
Parameters
ndp
Network Device Pointer. Opaque network device identifier (pointer).
Return Values
A pointer to the ASCII character name associated with this driver instance. This will normally be one of the strings rtnd0 through rtnd3.
Requirements
Header | Drvutl.h |
Library | Rtxtcpip.lib |