s3:smbd/msdfs: pass allow_broken_path to resolve_dfspath_wcard()
[Samba/gebeck_regimport.git] / testprogs / win32 / midltests / valid / midltests_strings_array_02.idl
blob46154c967a5baa71739ebf4e3ba3bcddf5f7f3ea
1 #ifndef MIDLTESTS_C_CODE
4 uuid("225b9fcb-eb3d-497b-8b0b-591f049a2507"),
5 pointer_default(unique)
7 interface midltests
9 struct strings {
10 long count;
11 [size_is(count),string] char *val[];
14 long midltests_fn(
15 [in,ref] struct strings *s
19 #elif MIDLTESTS_C_CODE
21 static void midltests(void)
23 const char *s1 = "foo";
24 const char *s2 = "bar";
25 char *a[] = { "foo", "bar2", NULL };
26 char buffer[1024];
27 struct strings *s = buffer;
29 s->count = 3;
30 s->val[0] = "foo";
31 s->val[1] = "bar2";
32 s->val[2] = NULL;
34 cli_midltests_fn(s);
37 long srv_midltests_fn(struct strings *a)
39 printf("srv_midltests_fn: Start\n");
40 printf("srv_midltests_fn: End\n");
41 return 0x65757254;
44 #endif