亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tdi.h

?? wince3.0的源碼
?? H
?? 第 1 頁 / 共 3 頁
字號:
					// it is so we can do fast rcv's
} TDI_REQUEST, *PTDI_REQUEST;

//
// Structure for information returned by the TDI provider. This structure is
// filled in upon request completion.
//

typedef struct _TDI_REQUEST_STATUS {
    TDI_STATUS Status;              // status of request completion
    PVOID RequestContext;           // the request Context
    ULONG BytesTransferred;          // number of bytes transferred in the request

} TDI_REQUEST_STATUS, *PTDI_REQUEST_STATUS;

//
// connection primitives information structure. This is passed to the TDI calls
// (Accept, Connect, xxx) that do connecting sorts of things.
//

typedef struct _TDI_CONNECTION_INFORMATION {
    LONG UserDataLength;         // length of user data buffer
    PVOID UserData;             // pointer to user data buffer
    LONG OptionsLength;          // length of follwoing buffer
    PVOID Options;              // pointer to buffer containing options
    LONG RemoteAddressLength;    // length of following buffer
    PVOID RemoteAddress;        // buffer containing the remote address
} TDI_CONNECTION_INFORMATION, *PTDI_CONNECTION_INFORMATION;

//
// structure defining a counted string is defined in
// \nt\public\sdk\inc\ntdefs.h as
//  typedef struct _STRING {
//    USHORT Length;
//    USHORT MaximumLength;
//    PCHAR Buffer;
//  } STRING;
//  typedef STRING *PSTRING;
//  typedef STRING ANSI_STRING;
//  typedef PSTRING PANSI_STRING;
//

//
// Event types that are known
//

#define TDI_EVENT_CONNECT           ((USHORT)0) // TDI_IND_CONNECT event handler.
#define TDI_EVENT_DISCONNECT        ((USHORT)1) // TDI_IND_DISCONNECT event handler.
#define TDI_EVENT_ERROR             ((USHORT)2) // TDI_IND_ERROR event handler.
#define TDI_EVENT_RECEIVE           ((USHORT)3) // TDI_IND_RECEIVE event handler.
#define TDI_EVENT_RECEIVE_DATAGRAM  ((USHORT)4) // TDI_IND_RECEIVE_DATAGRAM event handler.
#define TDI_EVENT_RECEIVE_EXPEDITED ((USHORT)5) // TDI_IND_RECEIVE_EXPEDITED event handler.
#define TDI_EVENT_SEND_POSSIBLE     ((USHORT)6) // TDI_IND_SEND_POSSIBLE event handler

//
// Associate Address is done through NtDeviceIoControlFile, which passes this
// structure as its input buffer. The Handle specified in the
// NtDeviceIoControlFile is the handle of the connection returned in the
// NtCreateFile call.
//

typedef struct _TDI_REQUEST_ASSOCIATE {
    TDI_REQUEST Request;
    HANDLE AddressHandle;
} TDI_REQUEST_ASSOCIATE_ADDRESS, *PTDI_REQUEST_ASSOCIATE_ADDRESS;


//
// Disassociate Address passes no structure, uses the request code
// IOCTL_TDI_DISASSOCIATE_ADDRESS. This call will never pend.
//

//
// Connect is done through NtDeviceIoControlFile, which passes this
// structure as its input buffer. The Handle specified in the
// NtDeviceIoControlFile is the handle of the connection returned in the
// NtCreateFile call.
//

typedef struct _TDI_CONNECT_REQUEST {
    TDI_REQUEST Request;
    PTDI_CONNECTION_INFORMATION RequestConnectionInformation;
    PTDI_CONNECTION_INFORMATION ReturnConnectionInformation;
    LARGE_INTEGER Timeout;
} TDI_REQUEST_CONNECT, *PTDI_REQUEST_CONNECT;

//
// Accept is done through NtDeviceIoControlFile, which passes this
// structure as its input buffer. The Handle specified in the
// NtDeviceIoControlFile is the handle of the connection returned in the
// NtCreateFile call. Accept is called by the user when a listen completes,
// before any activity can occur on a connection. AcceptConnectionId specifies
// the connection on which the connection is accepted; in most cases, this
// will be null, which that the connection is to be accepted on the
// connection on which the listen completed. If the transport provider supports
// "forwarding" of connections (the idea that a particular connection listens
// all the time, and creates new connections as needed for incoming connection
// requests and attaches them to the listen), this is the mechanism used to
// associate connections with the listen.
//

typedef struct _TDI_REQUEST_ACCEPT {
    TDI_REQUEST Request;
    PTDI_CONNECTION_INFORMATION RequestConnectionInformation;
    PTDI_CONNECTION_INFORMATION ReturnConnectionInformation;
} TDI_REQUEST_ACCEPT, *PTDI_REQUEST_ACCEPT;

//
// Listen is done through NtDeviceIoControlFile, which passes this
// structure as its input buffer. The Handle specified in the
// NtDeviceIoControlFile is the handle of the connection returned in the
// NtCreateFile call. RequestConnectionInformation contains information about
// the remote address to be listen for connections from; if NULL, any address
// is accepted. ReturnConnectionInformation returns information about the
// remote node that actually connected.
//

typedef struct _TDI_REQUEST_LISTEN {
    TDI_REQUEST Request;
    PTDI_CONNECTION_INFORMATION RequestConnectionInformation;
    PTDI_CONNECTION_INFORMATION ReturnConnectionInformation;
    USHORT ListenFlags;
} TDI_REQUEST_LISTEN, *PTDI_REQUEST_LISTEN;

//
// Disconnect is done through NtDeviceIoControlFile, which passes this
// structure as its input buffer. The Handle specified in the
// NtDeviceIoControlFile is the handle of the connection returned in the
// NtCreateFile call. Disconnect differs from Close in offering more options.
// For example, Close terminates all activity on a connection (immediately),
// failing all outstanding requests, and tearing down the connection. With
// some providers, Disconnect allows a "graceful" disconnect, causing new activity
// to be rejected but allowing old activity to run down to completion.
//

typedef struct _TDI_DISCONNECT_REQUEST {
    TDI_REQUEST Request;
    LARGE_INTEGER Timeout;
} TDI_REQUEST_DISCONNECT, *PTDI_REQUEST_DISCONNECT;

//
// Send is done through NtDeviceIoControlFile, which passes this
// structure as its input buffer. The Handle specified in the
// NtDeviceIoControlFile is the handle of the connection returned in the
// NtCreateFile call. Note that it is possible to Send using the file system's
// Write call. This will have the same effect as doing a Send with all flags
// set to null.
//

typedef struct _TDI_REQUEST_SEND {
    TDI_REQUEST Request;
    USHORT SendFlags;
} TDI_REQUEST_SEND, *PTDI_REQUEST_SEND;

//
// Receive is done through NtDeviceIoControlFile, which passes this
// structure as its input buffer. The Handle specified in the
// NtDeviceIoControlFile is the handle of the connection returned in the
// NtCreateFile call. Note that it is possible to Receive using the file
// system's Read call. Note further that receive returns a number of TDI_STATUS
// values, which indicate things such as partial receives.
//

typedef struct _TDI_REQUEST_RECEIVE {
    TDI_REQUEST Request;
    USHORT ReceiveFlags;
} TDI_REQUEST_RECEIVE, *PTDI_REQUEST_RECEIVE;

//
// SendDatagram is done through NtDeviceIoControlFile, which passes this
// structure as its input buffer. The Handle specified in the
// NtDeviceIoControlFile is the handle of the ADDRESS (note this is
// different than above!!) returned in the NtCreateFile call. Send Datagram
// specifies  the address of the receiver through the SendDatagramInformation
// structure, using RemoteAddress to point to the transport address of the
// destination of the datagram.
//

typedef struct _TDI_REQUEST_SEND_DATAGRAM {
    TDI_REQUEST Request;
    PTDI_CONNECTION_INFORMATION SendDatagramInformation;
} TDI_REQUEST_SEND_DATAGRAM, *PTDI_REQUEST_SEND_DATAGRAM;

//
// ReceiveDatagram is done through NtDeviceIoControlFile, which passes this
// structure as its input buffer. The Handle specified in the
// NtDeviceIoControlFile is the handle of the ADDRESS (note this is
// different than above!!) returned in the NtCreateFile call. Receive Datagram
// specifies the address from which to receive a datagram through the
// ReceiveDatagramInformation structure, using RemoteAddress to point to the
// transport address of the origin of the datagram. (Broadcast datagrams are
// received by making the pointer NULL.) The actual address of the sender of
// the datagram is returned in ReturnInformation.
//
// for the receive datagram call
//

typedef struct _TDI_REQUEST_RECEIVE_DATAGRAM {
    TDI_REQUEST Request;
    PTDI_CONNECTION_INFORMATION ReceiveDatagramInformation;
    PTDI_CONNECTION_INFORMATION ReturnInformation;
    USHORT ReceiveFlags;
} TDI_REQUEST_RECEIVE_DATAGRAM, *PTDI_REQUEST_RECEIVE_DATAGRAM;

//
// SetEventHandler is done through NtDeviceIoControlFile, which passes this
// structure as its input buffer. The Handle specified in the
// NtDeviceIoControlFile is the handle of the ADDRESS (note this is
// different than above!!) returned in the NtCreateFile call.

typedef struct _TDI_REQUEST_SET_EVENT {
    TDI_REQUEST Request;
    LONG EventType;
    PVOID EventHandler;
    PVOID EventContext;
} TDI_REQUEST_SET_EVENT_HANDLER, *PTDI_REQUEST_SET_EVENT_HANDLER;

//
// ReceiveIndicator values (from TdiReceive and TdiReceiveDatagram requests,
// and also presented at TDI_IND_RECEIVE and TDI_IND_RECEIVE_DATAGRAM time).
//
// The TDI_RECEIVE_PARTIAL bit is no longer used at the kernel level
// interface.  TDI_RECEIVE_ENTIRE_MESSAGE has replaced it.  Providers
// may continue to set TDI_RECEIVE_PARTIAL when appropriate if they so
// desire, but the TDI_RECEIVE_ENTIRE_MESSAGE bit must be set or
// cleared as appropriate on all receive indications.
//

#if 0
#define TDI_RECEIVE_TRUNCATED           0x00000001 // received TSDU was truncated.
#define TDI_RECEIVE_FRAGMENT            0x00000002 // received TSDU was fragmented.
#endif
#define TDI_RECEIVE_BROADCAST           0x00000004 // received TSDU was broadcast.
#define TDI_RECEIVE_MULTICAST           0x00000008 // received TSDU was multicast.
#define TDI_RECEIVE_PARTIAL             0x00000010 // received TSDU is not fully presented.
#define TDI_RECEIVE_NORMAL              0x00000020 // received TSDU is normal data
#define TDI_RECEIVE_EXPEDITED           0x00000040 // received TSDU is expedited data
#define TDI_RECEIVE_PEEK                0x00000080 // received TSDU is not released
#define TDI_RECEIVE_NO_RESPONSE_EXP     0x00000100 // HINT: no back-traffic expected
#define TDI_RECEIVE_COPY_LOOKAHEAD      0x00000200 // for kernel-mode indications
#define TDI_RECEIVE_ENTIRE_MESSAGE      0x00000400 // opposite of RECEIVE_PARTIAL
                                                   //  (for kernel-mode indications)
#define TDI_RECEIVE_AT_DISPATCH_LEVEL   0x00000800 // receive indication called
                                                   //  at dispatch level


//
// Listen Flags
//

#define TDI_QUERY_ACCEPT                0x00000001     // complete TdiListen
                                                       //   without accepting
                                                       //   connection

//
// Options which are used for both SendOptions and ReceiveIndicators.
//

#define TDI_SEND_EXPEDITED            ((USHORT)0x0020) // TSDU is/was urgent/expedited.
#define TDI_SEND_PARTIAL              ((USHORT)0x0040) // TSDU is/was terminated by an EOR.
#define TDI_SEND_NO_RESPONSE_EXPECTED ((USHORT)0x0080) // HINT: no back traffic expected.
#define TDI_SEND_NON_BLOCKING         ((USHORT)0x0100) // don't block if no buffer space in protocol


//
// Disconnect Flags
//

#define TDI_DISCONNECT_WAIT           ((USHORT)0x0001) // used for disconnect
                                                       //   notification
#define TDI_DISCONNECT_ABORT          ((USHORT)0x0002) // immediately terminate
                                                       //   connection
#define TDI_DISCONNECT_RELEASE        ((USHORT)0x0004) // initiate graceful
                                                       //   disconnect
#define TDI_DISCONNECT_CONFIRM        ((USHORT)0x0008) // confirm a graceful
                                                       //   close
#define TDI_DISCONNECT_ASYNC          ((USHORT)0x0010) // asynchronous
                                                       //   graceful disconnect

//
// TdiRequest structure for TdiQueryInformation request.
//

typedef struct _TDI_REQUEST_QUERY_INFORMATION {
    TDI_REQUEST Request;
    ULONG QueryType;                          // class of information to be queried.
    PTDI_CONNECTION_INFORMATION RequestConnectionInformation;
} TDI_REQUEST_QUERY_INFORMATION, *PTDI_REQUEST_QUERY_INFORMATION;

//
// TdiRequest structure for TdiSetInformation request.
//

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品一区二区三区不卡| 色猫猫国产区一区二在线视频| 高清国产一区二区三区| 欧美在线不卡视频| 欧美激情一区二区三区| 日本中文字幕一区| 在线视频欧美精品| 亚洲欧美影音先锋| 国产成人小视频| 日韩一区二区精品在线观看| 亚洲午夜免费电影| 99久免费精品视频在线观看| 久久久久久麻豆| 麻豆专区一区二区三区四区五区| 欧美揉bbbbb揉bbbbb| 亚洲品质自拍视频网站| 国产一区二区三区黄视频| 在线成人高清不卡| 亚洲gay无套男同| 色菇凉天天综合网| 亚洲精品午夜久久久| av激情成人网| 自拍偷拍国产亚洲| 白白色亚洲国产精品| 国产免费久久精品| 国产精品白丝jk黑袜喷水| 久久久99精品免费观看| 激情欧美一区二区| 久久久久久久久99精品| 国模无码大尺度一区二区三区| 日韩欧美在线一区二区三区| 美腿丝袜亚洲综合| 日韩午夜在线观看| 国产一区二区导航在线播放| 精品国产一区二区三区四区四| 久久成人免费网| 久久这里只有精品视频网| 国产精品综合av一区二区国产馆| 久久亚洲捆绑美女| 国产成人aaa| 亚洲人成网站影音先锋播放| 色8久久精品久久久久久蜜| 亚洲香蕉伊在人在线观| 欧美日韩精品福利| 午夜精品在线视频一区| 欧美一卡2卡三卡4卡5免费| 久久91精品国产91久久小草 | 色88888久久久久久影院野外 | 美女视频第一区二区三区免费观看网站 | 日本欧美一区二区| 欧美大片免费久久精品三p| 国产在线一区观看| 亚洲图片激情小说| 欧美三级乱人伦电影| 精品中文字幕一区二区小辣椒| 国产亚洲一区二区在线观看| 91女人视频在线观看| 亚洲激情中文1区| 日韩欧美一级二级三级久久久| 国产精品综合在线视频| 亚洲特黄一级片| 欧美精品久久久久久久多人混战| 久久99精品久久久久久国产越南| 久久久久久久精| 欧美三级日本三级少妇99| 极品美女销魂一区二区三区免费| 国产精品天美传媒| 欧美美女黄视频| 成人av中文字幕| 日本在线观看不卡视频| 中文字幕一区二区三区四区不卡| 欧美日韩国产小视频| 国产成人综合在线| 天堂精品中文字幕在线| 国产欧美精品一区| 91精品综合久久久久久| 99国产精品久久久久久久久久 | 蜜桃传媒麻豆第一区在线观看| 国产欧美精品一区| 日韩午夜电影在线观看| 91一区二区三区在线播放| 精一区二区三区| 亚洲午夜视频在线| 18欧美乱大交hd1984| 欧美xxxxx牲另类人与| 色综合激情久久| 大胆亚洲人体视频| 日韩精品乱码av一区二区| 亚洲欧美国产高清| 中文av一区特黄| 精品国产91洋老外米糕| 欧美日韩综合不卡| 色婷婷久久99综合精品jk白丝| 国产精品123| 国产一区二区三区视频在线播放| 婷婷国产在线综合| 亚洲在线一区二区三区| 亚洲三级在线免费| 欧美激情一区二区三区在线| 欧美精品一区二区三区蜜臀| 日韩一区二区三免费高清| 欧美三电影在线| 欧美日韩中文精品| 欧美午夜寂寞影院| 在线精品视频一区二区| 色婷婷久久久综合中文字幕| 9人人澡人人爽人人精品| 东方欧美亚洲色图在线| 国产.精品.日韩.另类.中文.在线.播放 | 久久久久亚洲综合| 久久久久久久久久久黄色| 精品久久久久久久久久久久包黑料| 欧美日韩精品一二三区| 欧美图片一区二区三区| 欧美日韩精品欧美日韩精品一| 在线免费观看日韩欧美| 在线观看日韩精品| 欧美性xxxxxx少妇| 欧美日韩大陆一区二区| 欧美日韩国产综合一区二区 | 91成人在线免费观看| 欧洲精品中文字幕| 欧美少妇bbb| 在线不卡一区二区| 日韩欧美电影在线| 国产亚洲一本大道中文在线| 国产日韩欧美精品一区| 国产精品你懂的在线| 1024成人网色www| 亚洲一区在线观看免费| 亚洲不卡av一区二区三区| 青青青伊人色综合久久| 国产精品综合二区| 色av综合在线| 欧美区一区二区三区| 精品日韩欧美一区二区| 亚洲精品在线电影| 国产精品成人免费在线| 亚洲精品视频免费看| 青椒成人免费视频| 成人免费观看男女羞羞视频| 色婷婷精品久久二区二区蜜臂av | 亚洲午夜精品在线| 九九**精品视频免费播放| 成人av网站在线观看免费| 欧美图区在线视频| 久久久综合视频| 亚洲精品免费视频| 久久国产麻豆精品| 91视视频在线直接观看在线看网页在线看| 在线精品视频小说1| 精品久久久久久久人人人人传媒| 国产精品天干天干在线综合| 亚洲国产精品一区二区尤物区| 黄页视频在线91| 欧美无砖砖区免费| 国产日产欧美一区二区视频| 亚洲福利一区二区| 国产91精品在线观看| 91尤物视频在线观看| 欧美一级一级性生活免费录像| 国产午夜三级一区二区三| 亚洲妇熟xx妇色黄| 成人av网站在线| 精品国产乱子伦一区| 专区另类欧美日韩| 久久99国产精品久久99| 欧美日韩久久久一区| 国产精品欧美经典| 国产自产视频一区二区三区| 欧美日韩一区不卡| 亚洲欧洲综合另类| 国内成人免费视频| 欧美一级片在线| 午夜精品一区二区三区免费视频 | 亚洲人成网站精品片在线观看| 精品一区二区在线视频| 欧美妇女性影城| 亚洲国产视频在线| 一本色道久久综合狠狠躁的推荐 | 不卡一区中文字幕| 日韩一区二区在线看| 午夜av一区二区三区| 色哟哟一区二区三区| 国产精品少妇自拍| 大尺度一区二区| 国产亚洲综合色| 国产高清精品久久久久| 久久伊人中文字幕| 免费的成人av| 日韩精品专区在线影院重磅| 丝袜国产日韩另类美女| 欧美精品自拍偷拍| 日本视频在线一区| 911国产精品| 狠狠色狠狠色综合| 久久理论电影网| 国产不卡视频在线播放| 中国av一区二区三区| 99re这里都是精品|