s4 dns: Support TXT queries
[Samba/gebeck_regimport.git] / testprogs / win32 / midltests / todo / midltests-array-range.idl
blob1d60fd6a90db167a77486dbac2a622ac9228a2a8
1 #ifndef MIDLTESTS_C_CODE
4 uuid("225b9fcb-eb3d-497b-8b0b-591f049a2507"),
5 pointer_default(unique)
7 interface midltests
9 long midltests_fn(
10 [out,ref] long *count,
11 [out,ref,size_is(,*count),range(0,1)] long **array,
12 [out,ref] long *error
16 #elif MIDLTESTS_C_CODE
18 static void midltests(void)
20 long count;
21 long *array;
22 long error;
24 cli_midltests_fn(&count, &array, &error);
27 long srv_midltests_fn(long *count, long **array, long *error)
29 printf("srv_midltests_fn: Start\n");
30 *count=2;
31 *array=(long *)malloc((*count) * sizeof(long));
32 (*array)[0] = 7;
33 (*array)[1] = 7;
34 *error=0;
35 printf("srv_midltests_fn: End\n");
36 return 0x65757254;
39 #endif