IRpcChannelBuffer::GetDestCtx

HRESULT IRpcChannelBuffer::GetDestCtx(pdwDestCtx, ppvDestCtx)

Return the destination context for this RPC channel. The destination context here is as specified in the description of the IMarshal interface.

Argument

Type

Description

pdwDestCtx

DWORD *

The place at which the destination context is to be returned.

ppvDestCtx

void **

May be NULL. If non-NULL, then this is the place at which auxiliary information associated with certain destination contexts will be returned. Interface proxies may not hold on to this returned pointer in their internal state; rather, they must assume that a subsequent call to IRpcChannel::Call() may in fact invalidate a previously returned destination context.12.

return value

HRESULT

S_OK, E_OUTOFMEMORY, E_UNEXPECTED, but no others.