IRpcChannelBuffer::GetDestCtx method (objidl.h)
Retrieves the destination context for the RPC channel.
Syntax
HRESULT GetDestCtx(
[out] DWORD *pdwDestContext,
[out] void **ppvDestContext
);
Parameters
[out] pdwDestContext
The destination context in which the interface is unmarshaled. Possible values come from the MSHCTX enumeration.
[out] ppvDestContext
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | objidl.h (include ObjIdl.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for