PHWritePIN (Windows Embedded CE 6.0)
1/6/2010
This function stores the PIN as encrypted data on the device. The entered PIN will be encrypted and written to the Registry.
Syntax
HRESULT PHWritePIN(
WCHAR* pPinString
);
Parameters
- pPinString
[in] The string holding the PIN.
Return Value
The function returns a variety of HRESULT values, depending on whether the call succeeded or failed. The following table shows additional possible return values.
Value | Description |
---|---|
S_OK |
Success. |
E_FAIL |
Failure. |
E_POINTER |
The pointer is invalid or NULL. |
E_INVALIDARG |
The string is empty. |
Remarks
Note
This documentation applies to functionality implemented in sample code for PhCommon. For more information, see PhCommon Reference.
Requirements
Header | settingsapi.hpp |
Library | PhCommon.dll |
Windows Embedded CE | Windows Embedded CE 6.0 and later |