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 RtndInitializeInterface 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(
    PVOID 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

NOTE: RTX64 Network Abstraction Layer (NAL) support requires RTX64 4.0 or later

Header

rtnapi.h

Library

To use with the NAL: RTX64Nal.lib

To use with the TCP/IP Stack: RtTcpip.lib

See Also:

RtndInitializeInterface

RtndConfigure

RtnSetDataLong