4 * Copyright 2001-2002 Ove Kåven, TransGaming Technologies
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_RPC_DEFS_H
22 #define __WINE_RPC_DEFS_H
24 /* info from http://www.microsoft.com/msj/0398/dcomtextfigs.htm */
28 unsigned char rpc_ver;
32 unsigned char drep[3];
33 unsigned char serial_hi;
37 unsigned long server_boot;
38 unsigned long if_vers;
44 unsigned short fragnum;
45 unsigned char auth_proto;
46 unsigned char serial_lo;
51 #define PKT_RESPONSE 2
57 #define PKT_CL_CANCEL 8
59 #define PKT_CANCEL_ACK 10
61 #define PKT_BIND_ACK 12
62 #define PKT_BIND_NAK 13
63 #define PKT_ALTER_CONTEXT 14
64 #define PKT_ALTER_CONTEXT_RESP 15
65 #define PKT_SHUTDOWN 17
66 #define PKT_CO_CANCEL 18
67 #define PKT_ORPHANED 19
69 #define NCADG_IP_UDP 0x08
70 #define NCACN_IP_TCP 0x07
71 #define NCADG_IPX 0x0E
72 #define NCACN_SPX 0x0C
73 #define NCACN_NB_NB 0x12
74 #define NCACN_NB_IPX 0x0D
75 #define NCACN_DNET_NSP 0x04
76 #define NCACN_HTTP 0x1F
78 /* FreeDCE: TWR_C_FLR_PROT_ID_IP */
81 #endif /* __WINE_RPC_DEFS_H */