Partager via


PC Authentication LAP Implementation (Windows CE 5.0)

Send Feedback

This section describes the implementation details for the PC authentication LAP. Applications do not call LASS directly, but only through this LAP. For more information about LASS, see Local Authentication Subsystem (LASS).

Note   Desktop computers that use IPsec can cause the desktop computer application and the LAP to communicate differently. For more information, see PC Authentication and IPsec.

The functions that your PC authentication LAP supports are defined in LAP-Exported Functions. When implementing these functions in your LAP, keep the following implementation details in mind.

VerifyUser (LAP)

The PC authentication LAP attempts to connect to the associated PC to determine if the desktop computer is locked or unlocked. If the desktop computer is contacted, authenticated, and unlocked, VerifyUser (LAP) returns TRUE and the user is considered authenticated. If the desktop computer is locked, or cannot be contacted, this function returns FALSE and the user is not authenticated.

If this function returns FALSE, the caller can use the GetLastError function to retrieve any error value, including those described in the VOIPLAP_E_ topic.

VerifyUser (LAP) times out if a response is not received from the desktop computer in the number of milliseconds represented by the c_cmsNormalTimeout constant. The AttemptConnection function performs the same steps as this function but times out in a much longer time, represented by the c_cmsExtendedTimeout constant. Both constants are defined in %_WINCEROOT%\Public\VoIP\Oak\Phone\Lap\Sync\PCQueryBot.cpp.

InitLAP

The PC authentication LAP version of this function takes no action and returns TRUE. For general information, see InitLAP.

DeinitLAP

The PC authentication LAP version of this function takes no action. For general information, see DeinitLAP.

LAPCreateEnrollmentConfigDialog

The PC authentication LAP version of this function takes no action and returns TRUE. For general information, see LAPCreateEnrollmentConfigDialog.

See Also

PC Authentication Application Development

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.