Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Sends a method invocation across an RPC channel to the server stub.
HRESULT SendReceive(
[in, out] RPCOLEMESSAGE *pMessage,
[out] ULONG *pStatus
);
[in, out] pMessage
A pointer to an RPCOLEMESSAGE structure that has been populated with marshaled data.
[out] pStatus
If not NULL, set to 0 on successful execution.
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Before invoking this method, the GetBuffer method must have been invoked to allocate a channel buffer. Upon return, the dataRepresentation buffer of the RPCOLEMESSAGE structure will have been modified to include the data returned by the method invoked on the server. If the invocation was successful, the RPC channel buffer has been freed; otherwise the caller must free it explicitly by calling FreeBuffer.
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) |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today