Share via


IRAPISession::CeCheckPassword (Windows Embedded CE 6.0)

1/6/2010

This method compares a specified string to the system password on a remote Windows Embedded CEā€“based device.

Syntax

BOOL CeCheckPassword( 
  LPWSTR lpszPassword 
);

Parameters

  • lpszPassword
    [in] Pointer to a NULL-terminated wide character string to compare with the system password.

Return Value

Nonzero indicates that lpszPassword matches the system password. Zero indicates failure. Upon a RAPI related failure, the return value is FALSE. To get extended error information, call IRAPISession::CeGetLastError and IRAPISession::CeRapiGetError.

Requirements

Header rapi2.h
Library ole32.lib, rapiuuid.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

IRAPISession