Partager via


2.2.1.2.230 RASRPC_CALLBACKLIST

The RASRPC_CALLBACKLIST structure specifies the callback information such as the callback device name and the callback phonenumber.

 typedef struct _RASRPC_CALLBACKLIST {
   WCHAR pszPortName[RASRPC_MaxPortName + 1];
   WCHAR pszDeviceName[RASRPC_MaxDeviceName + 1];
   WCHAR pszNumber[RASRPC_MaxPhoneNumber + 1];
   DWORD dwDeviceType;
   [unique] struct _RASRPC_CALLBACKLIST* pNext;
 } RASRPC_CALLBACKLIST,
  *LPRASRPC_CALLBACKLIST;

pszPortName: A null-terminated Unicode string specifying the port name on which callback is made.

pszDeviceName: A null-terminated Unicode string specifying the device name on which callback is be made.

pszNumber: A null-terminated Unicode string specifying the phone number to which callback is be made.

dwDeviceType: Specifies the device type to which callback is to be made.

This MUST take one of the following values:<161>

Value

Meaning

PBDT_None

0

No device.

PBDT_Null

1

Serial or parallel port device.

PBDT_Other

2

Device other than mentioned in the table.

PBDT_Modem

3

A modem device.

PBDT_Pad

4

An X.25 [X.25] packet assembler/disassembler.

PBDT_Switch

5

Switch device.

PBDT_Isdn

6

An ISDN device.

PBDT_X25

7

An X.25 [X.25] device.

PBDT_ComPort

8

Generic COM port device.

PBDT_Irda

10

An Infrared Data Association (IrDA)-compliant device.

PBDT_Vpn

11

A virtual private networking (VPN) device

PBDT_Serial

12

Serial port device.

PBDT_Atm

13

Asynchronous Transfer Mode (ATM) device.

PBDT_Parallel

14

Parallel port device.

PBDT_Sonet

15

Sonet device.

PBDT_Sw56

16

Switched 56K Access.

PBDT_FrameRelay

17

Frame Relay device.

PBDT_PPPoE

18

PPPoE device.

pNext: Specifies the pointer to the next RASRPC_CALLBACKLIST structure. The last member of the linked list of RASRPC_CALLBACKLIST structures MUST have the pNext field set to NULL.