Compartilhar via


IRAPISession::CeRapiGetError

A version of this page is also available for

Windows Embedded CE 6.0 R3

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::CeGetLastError that checks for errors that are not related to RAPI.

Code Example

The following code example illustrates how to use IRAPISession::CeRapiGetError and IRAPISession::CeGetLastError to get error information after a RAPI function call.

         
 
 
 
 
 
 
 

}

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

See Also

Reference

IRAPISession
IRAPISession::CeGetLastError