1 #ifndef MIDLTESTS_C_CODE
3 uuid("225b9fcb-eb3d-497b-8b0b-591f049a2507"),
4 pointer_default(unique)
8 typedef struct st_wire
{
15 typedef [transmit_as(st_wire_t
)] struct st_local st_local_t
;
21 #elif MIDLTESTS_C_CODE
23 void __RPC_USER st_local_t_to_xmit
(st_local_t
*l
, st_wire_t
**w
)
25 *w
= malloc
(sizeof
(st_wire_t
));
26 memset
(*w
, 0xcd, sizeof
(st_wire_t
));
29 void __RPC_USER st_local_t_from_xmit
(st_wire_t
*w
, st_local_t
*l
)
31 memset
(l
, 0, sizeof
(st_local_t
));
34 void __RPC_USER st_local_t_free_inst
(st_local_t
*l
)
39 void __RPC_USER st_local_t_free_xmit
(st_wire_t
*w
)
44 static
void midltests
()
48 strcpy
(s
, "TestString");
52 long srv_midltests_fn
(st_local_t st
)
54 printf
("srv_midltests_fn: Start\n");
55 printf
("srv_midltests_fn: End\n");