Share via


IRAPISession::CeCheckPassword

Send Feedback

This method compares a specified string to the system password on a remote Microsoft® Windows® CE–based device.

BOOL CeCheckPassword( 
  LPWSTR lpszPassword 
);

Parameters

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

Return Values

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

OS Versions: Windows CE 5.01 and later.
Header: Rapi2.h.
Link Library: Ole32.lib, Rapiuuid.lib.

See Also

IRAPISession::IUnknown

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.