CoUnmarshalHresult
Unmarshals an
HRESULT type from the specified stream.
STDAPI CoUnmarshalHresult(
LPSTREAM pStm,
| //Stream used for unmarshalling
|
HRESULT * phresult
| //Receives the HRESULT
|
);
|
|
Parameters
pStm
Points to the stream from which the
HRESULT is to be unmarshalled.
phresult
Receives the unmarshalled
HRESULT.
Return Values
S_OK
Indicates the
HRESULT was unmarshalled successfully.
STG_E_INVALIDPOINTER
Indicates
pStm is an invalid pointer.
E_OUTOFMEMORY
Out of memory.
E_INVALIDARG
Indicates one or more arguments are invalid.
E_UNEXPECTED
Indicates an
unexpected error occurred.
Comments
You typically do not need to call this function. The only situation in which
you would need to call this function is if you are performing custom marshalling
(that is, writing your own implementation of
IMarshal). You must use
CoUnmarshalHresult to unmarshal
HRESULTs previously marshalled by a call to the
CoMarshalHresult function.
See Also
CoMarshalHresult
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database