testprogs/midltests: add some example IDL files and there midltests.exe output
[metze/samba/wip.git] / testprogs / win32 / midltests / valid / midltests_fixed_size_in_array_01.idl
1 #ifndef MIDLTESTS_C_CODE
2
3 [
4   uuid("225b9fcb-eb3d-497b-8b0b-591f049a2507"),
5   pointer_default(unique)
6 ]
7 interface midltests
8 {
9         long midltests_fn(
10                 [in] long a[2]
11         );
12 }
13
14 #elif MIDLTESTS_C_CODE
15
16 static void midltests(void)
17 {
18         long a[2] = { 1, 2 };
19         cli_midltests_fn(a);
20 }
21
22 long srv_midltests_fn(long a[2])
23 {
24         printf("srv_midltests_fn: Start\n");
25         printf("srv_midltests_fn: End\n");
26         return 0x65757254;
27 }
28
29 #endif