IRpcChannelBuffer::GetDestCtx method

Retrieves the destination context for the RPC channel.

Syntax


HRESULT GetDestCtx(
  [out] DWORD *pdwDestContext,
  [out] void  **ppvDestContext
);

Parameters

pdwDestContext [out]

The destination context in which the interface is unmarshaled. Possible values come from the MSHCTX enumeration.

ppvDestContext [out]

This parameter is reserved and must be NULL.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IRpcChannelBuffer is defined as D5F56B60-593B-101A-B569-08002B2DBF7A

See also

IRpcChannelBuffer

 

 

Show: