2 * RPC format chars, as found by studying MIDL output.
9 #define RPC_FC_BYTE 0x01
10 #define RPC_FC_CHAR 0x02
11 #define RPC_FC_SMALL 0x03
12 #define RPC_FC_USMALL 0x04
13 #define RPC_FC_WCHAR 0x05
14 #define RPC_FC_SHORT 0x06
15 #define RPC_FC_USHORT 0x07
16 #define RPC_FC_LONG 0x08
17 #define RPC_FC_ULONG 0x09
18 #define RPC_FC_FLOAT 0x0a
19 #define RPC_FC_HYPER 0x0b
20 #define RPC_FC_DOUBLE 0x0c
21 #define RPC_FC_ENUM16 0x0d
22 #define RPC_FC_ENUM32 0x0e
24 #define RPC_FC_ERROR_STATUS_T 0x10
27 #define RPC_FC_RP 0x11 /* reference pointer */
28 #define RPC_FC_UP 0x12 /* unique pointer */
29 #define RPC_FC_OP 0x13 /* unique pointer in object ? */
30 #define RPC_FC_FP 0x14 /* full pointer */
31 /* FC_RP/UP/OP/FP: flags, NdrFcShort(typeofs)/basetype */
32 #define RPC_FC_P_ALLOCALLNODES 0x01
33 #define RPC_FC_P_DONTFREE 0x02
34 #define RPC_FC_P_ONSTACK 0x04 /* [alloced_on_stack] */
35 #define RPC_FC_P_SIMPLEPOINTER 0x08 /* [simple_pointer] */
36 #define RPC_FC_P_DEREF 0x10
38 #define RPC_FC_STRUCT 0x15
39 /* FC_STRUCT: fieldcount-1, NdrFcShort(size), fields */
41 #define RPC_FC_PSTRUCT 0x16
42 #define RPC_FC_CSTRUCT 0x17
44 #define RPC_FC_BOGUS_STRUCT 0x1a
46 #define RPC_FC_CARRAY 0x1b /* conformant array? */
47 #define RPC_FC_CVARRAY 0x1c /* conformant varying array? */
48 #define RPC_FC_SMFARRAY 0x1d /* simple fixed array? */
49 /* FC_SMFARRAY: fieldcount-1, NdrFcShort(count), type */
51 #define RPC_FC_BOGUS_ARRAY 0x21
53 #define RPC_FC_C_CSTRING 0x22
54 #define RPC_FC_C_WSTRING 0x25
56 #define RPC_FC_ENCAPSULATED_UNION 0x2a
57 #define RPC_FC_NON_ENCAPSULATED_UNION 0x2b
59 #define RPC_FC_IP 0x2f /* interface pointer */
60 /* FC_IP: FC_CONSTANT_IID iid */
61 /* FC_IP: FC_PAD correlation_descriptor? */
63 #define RPC_FC_BIND_CONTEXT 0x30
65 #define RPC_FC_BIND_GENERIC 0x31
66 #define RPC_FC_BIND_PRIMITIVE 0x32
67 #define RPC_FC_AUTO_HANDLE 0x33
68 #define RPC_FC_CALLBACK_HANDLE 0x34
69 /* proc header: oiflags, NdrFcLong(rpcflags), NdrFcShort(procnum), NdrFcShort(stacksiz),
70 * oi2 header: NdrFcShort(clientbuf), NdrFcShort(servbuf), oi2flags, parmcount
71 * oi2 parameters: NdrFcShort(flags), NdrFcShort(stackofs), NdrFcShort(typeofs)/basetype */
72 #define RPC_FC_PROC_OIF_FULLPTR 0x01
73 #define RPC_FC_PROC_OIF_RPCSSALLOC 0x02
74 #define RPC_FC_PROC_OIF_OBJECT 0x04
75 #define RPC_FC_PROC_OIF_RPCFLAGS 0x08
76 #define RPC_FC_PROC_OIF_OBJ_V2 0x20
77 #define RPC_FC_PROC_OIF_NEWINIT 0x40
79 #define RPC_FC_PROC_OI2F_SRVMUSTSIZE 0x01
80 #define RPC_FC_PROC_OI2F_CLTMUSTSIZE 0x02
81 #define RPC_FC_PROC_OI2F_HASRETURN 0x04
82 #define RPC_FC_PROC_OI2F_HASPIPES 0x08
83 #define RPC_FC_PROC_OI2F_HASASYNCUUID 0x20
84 #define RPC_FC_PROC_OI2F_HASEXTS 0x40
85 #define RPC_FC_PROC_OI2F_HASASYNCHND 0x80
86 #define RPC_FC_PROC_PF_MUSTSIZE 0x0001
87 #define RPC_FC_PROC_PF_MUSTFREE 0x0002
88 #define RPC_FC_PROC_PF_PIPE 0x0004
89 #define RPC_FC_PROC_PF_IN 0x0008
90 #define RPC_FC_PROC_PF_OUT 0x0010
91 #define RPC_FC_PROC_PF_RETURN 0x0020
92 #define RPC_FC_PROC_PF_BASETYPE 0x0040
93 #define RPC_FC_PROC_PF_BYVAL 0x0080
94 #define RPC_FC_PROC_PF_SIMPLEREF 0x0100
95 #define RPC_FC_PROC_PF_DONTFREEINST 0x0200
96 #define RPC_FC_PROC_PF_SAVEASYNC 0x0400
97 #define RPC_FC_PROC_PF_SRVALLOCSIZE 0xe000 /* in 8 byte units */
99 #define RPC_FC_POINTER 0x36
101 #define RPC_FC_ALIGNM4 0x38
102 #define RPC_FC_ALIGNM8 0x39
104 #define RPC_FC_STRUCTPAD2 0x3e
106 #define RPC_FC_NO_REPEAT 0x46
108 #define RPC_FC_VARIABLE_REPEAT 0x48
109 #define RPC_FC_FIXED_OFFSET 0x49
111 #define RPC_FC_PP 0x4b
113 #define RPC_FC_EMBEDDED_COMPLEX 0x4c
114 /* FC_EMBEDDED_COMPLEX: fieldcount-1, NdrFcShort(typeofs) */
116 #define RPC_FC_IN_PARAM 0x4d
117 /* FC_IN_PARAM: stacksiz, NdrFcShort(typeofs) */
118 #define RPC_FC_IN_PARAM_BASETYPE 0x4e
119 /* FC_IN_PARAM_BASETYPE: basetype */
120 #define RPC_FC_IN_PARAM_NO_FREE_INST 0x4f
121 #define RPC_FC_IN_OUT_PARAM 0x50
122 /* FC_IN_OUT_PARAM: stacksiz, NdrFcShort(typeofs) */
123 #define RPC_FC_OUT_PARAM 0x51
124 /* FC_OUT_PARAM: stacksiz, NdrFcShort(typeofs) */
125 #define RPC_FC_RETURN_PARAM 0x52
126 /* FC_RETURN_PARAM: stacksiz, NdrFcShort(typeofs) */
127 #define RPC_FC_RETURN_PARAM_BASETYPE 0x53
128 /* FC_RETURN_PARAM_BASETYPE: basetype */
130 #define RPC_FC_DEREFERENCE 0x54
132 #define RPC_FC_CONSTANT_IID 0x5a
133 /* FC_CONSTANT_IID: NdrFcLong(), NdrFcShort(), NdrFcShort(), 8x () */
135 #define RPC_FC_END 0x5b
136 #define RPC_FC_PAD 0x5c
138 #define RPC_FC_USER_MARSHAL 0xb4
140 #define RPC_FC_INT3264 0xb8
141 #define RPC_FC_UINT3264 0xb9
143 #endif /* __WINE_RPCFC_H */