Partager via


SetPCSyncName (Windows CE 5.0)

Send Feedback

This function sets the name or IP address of the desktop computer from which the LAP attempts to retrieve lock/unlock status.

HRESULT SetPCSyncName(const WCHAR* c_wszPCName);

Parameters

  • c_wszPCName
    The name or IP address of the desktop computer on which the PC Authentication desktop computer application is running.

Return Values

The following table shows possible return values.

Value Description
S_OK The desktop computer name was set successfully.
E_POINTER The c_wszPCName parameter does not point to a valid string.

Remarks

The AttemptConnection method and PC Authentication version of the LASS VerifyUser function attempt to connect to this desktop computer. For more information about the PC Authentication implementation of VerifyUser, see PC Authentication Implementation of LASS Functions.

This function saves the passed value in the registry, where it can be retrieved by the GetPCSyncName function. For more information about PC Authentication registry settings, see PC Authentication Registry Settings.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Voiplap.h.

See Also

PC Authentication Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.