RtnGetDeviceName

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 *ndptr
);

Parameters

ndptr

Network Device Pointer. Opaque network device identifier (pointer).

Return Value

A pointer to the ASCII character name associated with this driver instance.

Requirements

Minimum Supported Version RTX64 2013
Header rtnapi.h
Library RtTcpip.lib