summaryrefslogtreecommitdiff
path: root/testprogs/win32/midltests/valid/midltests_fixed_size_in_array_01.idl
blob: 170b1479533a17b00ded5eafa806c4953228d285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef MIDLTESTS_C_CODE

[
  uuid("225b9fcb-eb3d-497b-8b0b-591f049a2507"),
  pointer_default(unique)
]
interface midltests
{
	long midltests_fn(
		[in] long a[2]
	);
}

#elif MIDLTESTS_C_CODE

static void midltests(void)
{
	long a[2] = { 1, 2 };
	cli_midltests_fn(a);
}

long srv_midltests_fn(long a[2])
{
	printf("srv_midltests_fn: Start\n");
	printf("srv_midltests_fn: End\n");
	return 0x65757254;
}

#endif