Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NdrContextHandleMemorySize
Collapse the table of content
Expand the table of content

NdrContextHandleMemorySize function

The NdrContextHandleMemorySize function returns the size of the supplied RPC context handle as represented in local memory.

Syntax


unsigned long RPC_ENTRY NdrContextHandleMemorySize(
   PMIDL_STUB_MESSAGE pStubMsg,
   PFORMAT_STRING     pFormat
);

Parameters

pStubMsg

Pointer to a MIDL_STUB_MESSAGE structure that contains the current status of the RPC stub. The BufferLength member contains the size of the context handle, in bytes. Structure is for internal use only; do not modify.

pFormat

Pointer to a FORMAT_STRING structure that contains the format of the context handle specified in pMemory.

Return value

Returns the size of the context handle in memory, in bytes.

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

Rpcndr.h (include Rpc.h)

Library

RpcRT4.lib

DLL

RpcRT4.dll

See also

NdrContextHandleSize

 

 

Community Additions

ADD
Show:
© 2015 Microsoft