22#ifndef __WINE_RPC_DEFS_H
23#define __WINE_RPC_DEFS_H
32 unsigned char drep[4];
173#define RPC_AUTH_VERIFIER_LEN(common_hdr) \
174 ((common_hdr)->auth_len ? (common_hdr)->auth_len + sizeof(RpcAuthVerifier) : 0)
176#define RPC_VER_MAJOR 5
177#define RPC_VER_MINOR 0
179#define RPC_FLG_FIRST 1
180#define RPC_FLG_LAST 2
181#define RPC_FLG_OBJECT_UUID 0x80
183#define RPC_MIN_PACKET_SIZE 0x1000
184#define RPC_MAX_PACKET_SIZE 0x16D0
211#define RESULT_ACCEPT 0
212#define RESULT_USER_REJECTION 1
213#define RESULT_PROVIDER_REJECTION 2
216#define REASON_ABSTRACT_SYNTAX_NOT_SUPPORTED 1
217#define REASON_TRANSFER_SYNTAXES_NOT_SUPPORTED 2
218#define REASON_LOCAL_LIMIT_EXCEEDED 3
220#define REJECT_REASON_NOT_SPECIFIED 0
221#define REJECT_TEMPORARY_CONGESTION 1
222#define REJECT_LOCAL_LIMIT_EXCEEDED 2
223#define REJECT_CALLED_PADDR_UNKNOWN 3
224#define REJECT_PROTOCOL_VERSION_NOT_SUPPORTED 4
225#define REJECT_DEFAULT_CONTEXT_NOT_SUPPORTED 5
226#define REJECT_USER_DATA_NOT_READABLE 6
227#define REJECT_NO_PSAP_AVAILABLE 7
228#define REJECT_UNKNOWN_AUTHN_SERVICE 8
229#define REJECT_INVALID_CHECKSUM 9
231#define NCADG_IP_UDP 0x08
232#define NCACN_IP_TCP 0x07
233#define NCADG_IPX 0x0E
234#define NCACN_SPX 0x0C
235#define NCACN_NB_NB 0x12
236#define NCACN_NB_IPX 0x0D
237#define NCACN_DNET_NSP 0x04
238#define NCACN_HTTP 0x1F
static struct _test_info results[8]
struct protocol * protocols
static const DWORD padding[]
unsigned char auth_pad_length
unsigned char auth_reserved
unsigned int auth_context_id
unsigned short context_id
RPC_SYNTAX_IDENTIFIER abstract_syntax
unsigned char num_syntaxes
unsigned char num_elements
unsigned short reject_reason
unsigned char protocols_count
unsigned char rpc_ver_minor
unsigned char rpc_ver_minor
unsigned short context_id
unsigned char cancel_count
unsigned short num_data_items
unsigned short context_id
unsigned char cancel_count
unsigned short context_id
unsigned char num_results
RPC_SYNTAX_IDENTIFIER transfer_syntax
RpcPktResponseHdr response
RpcPktBindAckHdr bind_ack
RpcPktBindNAckHdr bind_nack