mailing list archives
Help Understanding Stub for MS06-040
From: asotirov at determina.com (Alexander Sotirov)
Date: Wed, 14 Mar 2007 16:04:20 -0700
Kyle Schatzle wrote:
Does this function relate to the stub below?
If it doesn't relate, could you point me in the right direction to
understand its format?
Here's how the IDL maps to the Pex::NDS functions:
# [in] [unique] [string] wchar_t * arg_00,
# [in] [string] wchar_t * arg_01,
# [out] [size_is(arg_03)] char * arg_02 <- out parameters are not sent in the
# [in] [range(0, 64000)] long arg_03,
# [in] [string] wchar_t * arg_04,
# [in,out] long * arg_05,
# [in] long arg_06
arg_00 is encoded with a Long followed by UnicodeConformantVaryingString. You
need the long because of the [unique] pointer modifier.
arg_02 is not included in the request, because it's an ouput parameter. It's
sent in the reply from the server.
The rest of the arguments are obvious.
The NDR transfer syntax is documented here: