1 #include <rdpear-common/ndr.h>
3 int TestNdr(
int argc,
char* argv[])
9 NdrContext* context = ndr_context_new(FALSE, 1);
15 0x02, 0x00, 0x00, 0x00,
20 wStream* s = Stream_StaticInit(&staticS, payload,
sizeof(payload));
24 NdrDeferredEntry e = { 0x020028,
"arrayContent", &hints, &target, ndr_uint8Array_descr() };
26 if (!ndr_push_deferreds(context, &e, 1))
29 if (!ndr_treat_deferred_read(context, s))
33 descr->destroyFn(context, &hints, target);
37 ndr_context_destroy(&context);
hints for a conformant array