02.04.2013 Views

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Error Code<br />

(Decimal)<br />

For API-protected Applications<br />

Deploying Secure Update Wizard (Windows Only)<br />

Contents Glossary Index Troubleshooting<br />

For API-protected applications, you need to call the UpdateWizard API function<br />

on the application startup. You also need to install the following files at<br />

the location where the application executables resides:<br />

UpdateWizard.exe: The Secure Update Wizard executable.<br />

.cab: The compressed file for the template.<br />

UPWITF.dll: A DLL that exports the UpdateWizard API. You can<br />

obtain its copy from the following location in your <strong>Sentinel</strong> <strong>Keys</strong> SDK<br />

installation: \Secure Update\Update Wizard\INTF.<br />

UpdateWizard API Function<br />

Format<br />

unsigned short UpdateWizard (SPP_UPDATE_WIZARD_INFO p_UpdInfo);<br />

Parameter<br />

Name Direction Type Description<br />

p_UpdInfo IN SPP_UPDATE_WIZARD_INFO Contains the Update<br />

Wizard configuration.<br />

Points to the<br />

SPP_UPDATE_WIZARD<br />

_INFO structure.<br />

Return Values<br />

If successful, the function returns SP_SUCCESS. If an error occurs, the function<br />

returns one of the following error codes:<br />

0 SP_SUCCESS<br />

Success.<br />

Description<br />

501 SP_ERR_KEY_NOT_FOUND<br />

The Valid hardware key not found. The Update Code is not meant for this<br />

key.<br />

<strong>Sentinel</strong> <strong>Hardware</strong> <strong>Keys</strong> Developer’s <strong>Guide</strong> 231

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!