Partager via


2.2.1.2.217 RequestBuffer

The RequestBuffer structure is a generic information container used by the RasRpcSubmitRequest (section 3.4.4.5) method to set or retrieve information on RRAS server. 


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RB_PCBIndex

RB_Reqtype

RB_Dummy (optional)

RB_Done

Alignment

...

RB_Buffer (variable)

...

RB_PCBIndex (4 bytes): A unique identifier for the port.

RB_Reqtype (4 bytes): A ReqTypes (section 2.2.1.1.18) enumeration value indicating the request type sent to the server.

RB_Dummy (4 bytes): SHOULD<153> be set to the size of the ULONG_PTR on the client.

RB_Done (4 bytes): MUST be set to zero (0) when sent and MUST be ignored on receipt.

Alignment (8 bytes): MUST be set to zero (0) when sent and MUST be ignored on receipt.

RB_Buffer (variable): A pointer to the buffer that contains the information specific to the RB_Reqtype request type. This information MUST be one of the following structures depending upon the RB_Reqtype ReqTypes.

ReqTypes

Structure

REQTYPE_SETDEVICECONFIGINFO

DeviceConfigInfo (section 2.2.1.2.218) 

REQTYPE_GETDEVICECONFIGINFO

DeviceConfigInfo (section 2.2.1.2.218) 

REQTYPE_GETCALLEDID

GetSetCalledId (section 2.2.1.2.220) 

REQTYPE_SETCALLEDID

GetSetCalledId (section 2.2.1.2.220) 

REQTYPE_GETNDISWANDRIVERCAPS

GetNdiswanDriverCapsStruct (section 2.2.1.2.222) 

REQTYPE_GETDEVCONFIG

GetDevConfigStruct (section 2.2.1.2.224) 

REQTYPE_PORTENUM

Enum (section 2.2.1.2.225) 

REQTYPE_GETINFO

Info (section 2.2.1.2.227)