1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include "idl_types.h" [ pointer_default(unique) ] interface printcap { typedef struct { [charset(UTF8),string] uint8 *name; [charset(UTF8),string] uint8 *info; } pcap_printer; typedef [public] struct { NTSTATUS status; uint32 count; [size_is(count)] pcap_printer printers[]; } pcap_data; }