Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This method reports errors that occur during RAPI2 method calls.
Syntax
HRESULT CeRapiGetError(void); |
Parameters
None.
Return Value
This method returns a HRESULT with errors that are be specific to RAPI2 method calls. This method should be used in conjuction with IRAPISession::CeGetLastErrorthat checks for errors that are not related to RAPI.
Code Example
The following code example illustrates how to use IRAPISession::CeRapiGetErrorand IRAPISession::CeGetLastErrorto get error information after a RAPI function call.
Copy Code | |
---|---|
|
}
Requirements
Header | rapi2.h |
Library | ole32.lib, rapiuuid.lib |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |