Determining PC Lock Status Using LASS (Windows CE 5.0)

Send Feedback

After the PC Authentication LAP is registered as the current LASS LAP, you can call LASS to determine if the associated desktop computer is locked or unlocked. For more information about registering the LAP, see Setting up the PC Authentication LAP on a Windows CE Device.

The LASS function you call to authenticate a user is VerifyUser.

The implementation of this function calls the current LAP. When the PC Authentication LAP is registered as the current LAP, LASS ultimately calls the LAP's VerifyUser function (this is a different function from the generic LASS VerifyUser function). For more information about the PC Authentication implementation of VerifyUser, see PC Authentication LAP Implementation.

The PC Authentication LAP then connects to the specified desktop computer using the network and uses the PC Authentication desktop computer application to determine if the desktop computer is currently locked.

For detailed example code that demonstrates calling the LASS VerifyUser function, see the Telephony User Interface (TUI) IsPCUnlocked function in %_WINCEROOT%\Public\VoIP\OAK\Phone\TUI\Utilities\laputils.cpp.

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.

See Also

PC Authentication Application Development

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.