RIO_EXTENSION_FUNCTION_TABLE struttura (mswsock.h)

La struttura RIO_EXTENSION_FUNCTION_TABLE contiene informazioni sulle funzioni che implementano le estensioni di I/O registrate winsock.

Sintassi

typedef struct _RIO_EXTENSION_FUNCTION_TABLE {
  DWORD                         cbSize;
  LPFN_RIORECEIVE               RIOReceive;
  LPFN_RIORECEIVEEX             RIOReceiveEx;
  LPFN_RIOSEND                  RIOSend;
  LPFN_RIOSENDEX                RIOSendEx;
  LPFN_RIOCLOSECOMPLETIONQUEUE  RIOCloseCompletionQueue;
  LPFN_RIOCREATECOMPLETIONQUEUE RIOCreateCompletionQueue;
  LPFN_RIOCREATEREQUESTQUEUE    RIOCreateRequestQueue;
  LPFN_RIODEQUEUECOMPLETION     RIODequeueCompletion;
  LPFN_RIODEREGISTERBUFFER      RIODeregisterBuffer;
  LPFN_RIONOTIFY                RIONotify;
  LPFN_RIOREGISTERBUFFER        RIORegisterBuffer;
  LPFN_RIORESIZECOMPLETIONQUEUE RIOResizeCompletionQueue;
  LPFN_RIORESIZEREQUESTQUEUE    RIOResizeRequestQueue;
} RIO_EXTENSION_FUNCTION_TABLE, *PRIO_EXTENSION_FUNCTION_TABLE;

Members

cbSize

Dimensioni, in byte, della struttura.

RIOReceive

Puntatore alla funzione RIOReceive .

RIOReceiveEx

Puntatore alla funzione RIOReceiveEx .

RIOSend

Puntatore alla funzione RIOSend .

RIOSendEx

Puntatore alla funzione RIOSendEx .

RIOCloseCompletionQueue

Puntatore alla funzione RIOCloseCompletionQueue .

RIOCreateCompletionQueue

Puntatore alla funzione RIOCreateCompletionQueue .

RIOCreateRequestQueue

Puntatore alla funzione RIOCreateRequestQueue .

RIODequeueCompletion

Puntatore alla funzione RIODequeueCompletion .

RIODeregisterBuffer

Puntatore alla funzione RIODeregisterBuffer .

RIONotify

Puntatore alla funzione RIONotify .

RIORegisterBuffer

Puntatore alla funzione RIORegisterBuffer .

RIOResizeCompletionQueue

Puntatore alla funzione RIOResizeCompletionQueue .

RIOResizeRequestQueue

Puntatore alla funzione RIOResizeRequestQueue .

Commenti

La struttura RIO_EXTENSION_FUNCTION_TABLE contiene informazioni sulle funzioni che implementano le estensioni di I/O registrate winsock.

I puntatori di funzione per le funzioni di estensione di I/O registrati winsock devono essere ottenuti in fase di esecuzione eseguendo una chiamata alla funzione WSAIoctl con il SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER codice opcode specificato. Il buffer di input passato alla funzione WSAIoctl deve contenere WSAID_MULTIPLE_RIO, un identificatore univoco globale (GUID) il cui valore identifica le funzioni di estensione I/O registrate Winsock. In caso di esito positivo, l'output restituito dalla funzione WSAIoctl contiene un puntatore alla struttura RIO_EXTENSION_FUNCTION_TABLE che contiene puntatori alle funzioni di estensione di I/O registrate Winsock. Il SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER IOCTL è definito nel file di intestazione Ws2def.h . Il GUID WSAID_MULTIPLE_RIO è definito nel file di intestazione Mswsock.h .

Requisiti

Requisito Valore
Client minimo supportato Windows 8 [solo app desktop]
Server minimo supportato Windows Server 2012 [solo app desktop]
Intestazione mswsock.h (includere Mswsock.h)

Vedi anche

RIOCloseCompletionQueue

RIOCreateCompletionQueue

RIOCreateRequestQueue

RIODequeueCompletion

RIODeregisterBuffer

RIONotify

RIOReceive

RIOReceiveEx

RIORegisterBuffer

RIOResizeCompletionQueue

RIOResizeRequestQueue

RIOSend

RIOSendEx

Wsaioctl