Home
SQFlash Utility
Contents
1. 10 SQFlash_GetSecurityID Read Security ID from hidden area 11 SQFlash_ClearSecurityID Clear Security ID from hidden area 12 SQFlash_GetSecurityID2_MaxLen Get maximum length security string which will write into Advantech SQFlash 13 SQFlash_SetSecurityID2 Write Security ID 2 into Advantech SQFlash 14 SQFlash_GetSecurityID2 Read Security ID 2 from Advantech SQFlash 15 SQFlash_ClearSecurityID2 Clear Security ID from Advantech SQFlash 16 SQFlash_IsSupportFlashLock Check target platform support Flash Lock or not 17 SQFlash_IsFlashLockEnable Check target platform Flash Lock be enabled or not 18 SQFlash_EnableFlashLock Enable Flash Lock feature 19 SQFlash_DisableFlashLock Disable Flash Lock feature 22 of 38 De EMmbCore SQFlash Utility Initialize Function Syntax int SQFlash_FindFirstDevice Parameters None Return Value First SQFlash Device Disk Number Syntax int SQFlash_FindNextDevice Parameters None Return Value Next SQFlash Device Disk Number 23 of 38 De EMmbCore Syntax BOOL SQFlash_GetDeviceModelName TCHAR pszModelName DWORD cchBuffer SQFlash Utility Parameters pszModelName out Pointer to the buffer that will receive the model name cchBuffer in Specifies the maximum number of characters to copy to the buffer including the NULL character Return Value If the function succeeds the return value is TRUE If the function fails the return value is
2. Figure 9 18 of 38 De EmbCore SQFlash Utility Get Code Window Protecting Sample Code Click Get Code to show C protected sample code in a new dialog C sample code Access Code and Security ID required Ki C Protected Code A include lt windows h gt include SQFlash h pragma commentilib SOQFlash lib int WINAPI WinMain HINSTANCE hInstance HINSTANCE hPrevInstance PSTR IpCmdLine int nsShowCmd const WCHAR ACCESS CODE L ASBH6 PC3TR BASV2 4BFH8 BIAD6 PTSV6 B65WA const WCHAR SECURE_ID L aaa if SQFlash_Initialize ACCESS_ CODE FALSE MessageBox NULL L Initialize failed NULL NULL return 0 int nDevyNum SQFlash_FindFirstDevicet if nDevNum lt 0 MessageBox NULL L Cannot find SQFlash NULL NULL return 0 int m_DeviceList 8 0 int m_DeviceCount 0 do if SQFlash_SelectDevice nmDevNum false continue Figure 10 19 of 38 De EmbCore SMART Window Get SMART attribute SQFlash Utility Click Get SMART to S M A R T attribute in a new dialog Max Program In CF card max program and erase cycles Average Program In CF card average program and erase cycles Power On Time Power on accumulates time ECC Count Error correct code number of times counting Endurance Check Endurance Check is the result of Average P E cycles Max P E cycles SMART Attribute Endurance Check Max Pr
3. Select Security ID mode I or II to write ID into SQFlash Detect max and user defined length of Security ID Mode Max Length Security ID 256 bytes Security ID II 256 bytes If you are using older version firmware SID2 maximum length would be 30bytes Read or Write Security ID into SQFlash Get protection code into application C sample Life monitoring Endurance Check Flash Lock Enable Disable Flash Lock feature GB SUSI SQFlash SOFlash Help Select Device Disk 1 SQF P10 1 1G EN AD ANTECH Software Protection Security ID Max Length 256 bytes Security ID I EN Security ID I Security ID Length np bytes Security ID II Life Monitoring Endurance Check OUNI Flash Lock O Enable Disable Figure 3 13 of 38 De EMmbCore Security ID Function SQFlash Utility Security ID II Security ID Access Code 1 Security ID This SID will need at least 256 bytes UNPARTITIONED AREA to allocate it If this utility cannot search enough space to write SID Security ID user interface will be disabled Security ID can be full run time configuration All read write access can be performed immediately After you enable Security ID all disk management access would be disabled ex Format fdisk ghost and etc This is because SQFlash controller protects SID area and not allows any disk I O to read or write this area If any tool or command tries to access this area it will return
4. Corporate Website www advantech com 38 of 38
5. EE 30 SetSecurity D2 FUNCOM EEN 31 er BE 32 ClearSecuritylD2 Function ee nana nenen anas anna naaa 33 IsSupportFlashLock Function ENNEN 34 IsFlashLockEnable SIE 35 EnableFlashLock Function dccsssscsssneccissnecemsdcansdieonedeciebescind 36 DisableFlashLock Function iiesacncseccspantsescncosercunnctzasusanteaotncntsadinantnnsseabenge 37 ABOUT wciccciscsccvsccnssnscovssevstecsasecensstdetecdsecnseouevevsscssecosbesesdateedcesadessvesedeecceseseedsete Ae 38 4 of 38 De EMmbCore SQFlash Utility Introduction SQFlash Utility software package is a flash management package contains utility and API to access Advantech flash storages It supports Software Protection Security ID Read Write amp Flash Lock and Life Monitoring S M A R T features Access Code protected package provides user a safe environment not only protect application itself but also prevents Security ID not to be read without the same Access Code while writing Based on CF 3 0 specification user can Lock SQFlash via Flash Lock function and Unlock by BIOS while booting A locked SQFlash cannot be read by any card reader or boot from other platforms without a BIOS with Unlock feature S M A R T attribute contains Max Average Program and Erase Cycles Power On Time ECC count and Endurance Check User can monitor it directly by SQFlash Utility or implement into application by SQFlash Utility API Life span detection mechanism ca
6. FALSE Syntax BOOL SQFlash_SelectDevice int nDeviceNum Parameters None Return Value If the function succeeds the return value is TRUE If the function fails the return value is FALSE 24 of 38 De EMmbCore Syntax BOOL SQFlash_Initialize LPCSTR pszPassword SQFlash Utility Parameters pszPassword in Valid SN Return Value If the library was initialized successfully the return value is TRUE Otherwise the return value is FALSE Syntax Void SQFlash_UnInitialize Parameters None Return Value None 25 of 38 De EmbCore SQFlash Utility GetSmartAttribute Function Syntax BOOL SQFlash_GetSmartAttribute PATA_SMART_ATTR_TABLE pASAT Parameters PASAT in Pointer to aATA_SMART_ATTR_TABLE structure to receive the Smart Attribute 26 of 38 De EmbCore SQFlash Utility ATA_SMART_ATTR_TABLE Structure The ATA_SMART_ATTR_TABLE Structure contains Smart Attributes Syntax typedef struct ATA SMART ATTR TABLE DWORD dwMaxProgram DWORD dwAverageProgram DWORD dwEnduranceRemainLife DWORD dwPowerOnTime DWORD dwEccCount YATA SMART ATTR TABLE PATA_SMART_ATTR_TABLE Members dwMaxProgram Max Program Erase Cycles dwAverageProgram Average Program Erase Cycles dwEnduranceRemainLife Endurance Remain Life dwPowerOnTime Power On Time second dwEccCount ECC Count 27 of 38 De EmbCore SQFlash Utility SetSecurityID Function Syntax BOOL SQFlash_IsUnu
7. fail directly Since SID1 protected space will close to the end of current partition re partition or partition size reallocation is not allowed which might erase SID itself 2 Security ID Il 14 of 38 This SID will be located into controller and all disk management access will remain the same behavior If you are using older firmware after you enable Security ID II you will need to COLD REBOOT the system in order to write SID2 into controller De EMmbCore Flash Lock Function SQFlash Utility Flash Lock feature needs to be supported by Advantech BIOS If target platform didn t support this feature Flash Lock buttons will be gray out as Figure 4 GB SUSI SQFlash SOFlash Help Select Device Disk 0 TE E e x AD ANTECH Disk D Software ProtegDisk SOF G Empty Disk 2 SQF Shee 4G Invalid Security ID Max Length 256 i bytes Security ID I x Security ID Length 0 bytes Life Monitoring Endurance Check Less dana III Flash Lock Disable Figure 4 While user press Enable or Disable to change the status of Flash Lock a progress dialog as Figure 5 will be pop up Processing _ gt Warning Don t Turn Off Power or Reset System Figure 5 15 of 38 De EMmbCore Modify Access Code SQFlash Utility If you manage more than one SQFlash at the same time all devices should use the same Access Code Otherwise the device has no Access Code or different A
8. 85 C 2 5 SATA SSD Firmware SSFAMA09 11 14 18 Ver6A01d S8FM05A3 and above Part Number Description SQF S25xx xG S5C SQFlash 810 series normal temperature SATA SSD 0 70 C SQF S25xx xG S5E SQFlash 810 series wide temperature SATA SSD 40 85 C SQF S25xx xG S7C SQFlash 520 series normal temperature SATA SSD 0 70 C SQF S25xx xG S7E SQFlash 520 series wide temperature SATA SSD 40 85 C SQF S25xx xG S8C SQFlash 820 series normal temperature SATA SSD 0 70 C SQF S25xx xG S8E SQFlash 820 series wide temperature SATA SSD 40 85 C 8 of 38 De EmbCore SQFlash Utility Software SQFlash Utility v2 0 4211 1 utility and API are required Dot Net Framework 2 0 required Environments Operating Systems that SQFlash Utility supports include Windows XP Embedded Windows XP Professional or Home Edition Windows 7 9 of 38 De EMmbCore SQFlash Utility Installation SQFlash Utility software package doesn t need to install into your operation system However you must have Advantech SQFlash installed in your system and a valid Access Code to access the utility or API Please contact Advantech to get legal access code 10 of 38 De EMmbCore SQFlash Utility SQFlash Utility SQFlash Utility is a utility to manage Advantech SQFlash card to access security zone and S M A R T information Key features H Access Code protected Security ID Read Write Flash Lock Protecting sample code generator S
9. DH EmbCore SQFlash Utility User s Manual Version v2 0 4211 1 Advantech Co Ltd No 1 Alley 20 Lane 26 Rueiguang Road Neihu District Taipei 114 Taiwan R O C www advantech com De EmbCore SQFlash Utility Copyright Notice This document is copyrighted 2013 by Advantech Co Ltd All rights reserved Advantech Co Ltd Reserves the right to make improvements to the products described in this manual at any time Specifications are thus subject to change without notice No part of this manual may be reproduced copied translated or transmitted in any form or by any means without prior written permission of Advantech Co Ltd Information provided in this manual is intended to be accurate and reliable However Advantech Co Ltd assumes no responsibility for its use or for any infringements upon the rights of third parties which may result from its use All the trade marks of products and companies mentioned in this data sheet belong to their respective owners Copyright 1983 2013 Advantech Co Ltd All Rights Reserved Part No Version v2 0 4211 1 Printed in Taiwan 2013 07 19 2 of 38 De EMmbCore Version History SQFlash Utility Date Version Remark 2008 11 20 0 1 First release 2008 12 03 0 2 Update Tool 2008 12 15 0 3 Update naming amp PN 2009 01 06 1 0 Add UnlnitializeCF API 2009 01 19 1 1 Update SMART attribute 2009 01 20 1 2 Update
10. M A R T attribute This utility package contains 8 files File Name Description SQFlash Utility exe Main program SQFlash_DIl dll SQFlash Utility Library PieChartControls dll SQFlash Utility Library Cpp ProtCode txt Protected sample code in C SQFlash lib SQFlash Utility Static Library SQFlash h SQFlash Utility Header File ePFlash sys BIOS Flash Driver SQFlash_PID pdf Access Code For security concern please import static library SQFlash lib to implement your protecting mechanism Every user who wants to adopt SQFlash Utility package should apply Access Code from Advantech first Access code can be changed by Main program and you can manage multiple devices at the same time However it s not allowed to have different Access Code if more than one SQFlash be managed at the same time and the same Main program 11 of 38 De EMmbCore First Window Access Code SQFlash Utility Please input a valid Access Code into this dialog You can find the Access Code in SQFlash_PID pdf Once you type valid access Code with this utility system will keep record and you won t need to type access Code next time Warning Access Code Doesn t Exist Click Yes to create Enter Access Code E Figure 2 12 of 38 De EmbCore Main Window SQFlash Utility SQFlash Utility Select Device Select specific SQFlash if you have more than one in the system Software Protection
11. PN table 2009 02 12 1 3 Add Flash Lock Feature 2010 08 17 2 0 0812 1 1 Version 2 0 release 2011 05 19 2 0 1621 1 1 Add New Model Support 2011 06 10 2 0 1808 1 1 Temporarily remove SMART support on models with FW version Ver7 MOK for bug solving 2013 07 19 2 0 4211 1 1 Add New Model Support 3 of 38 De EmbCore Table of Contents SQFlash Utility INTRODUCTION nn csa sivi osko soe vessi osise asses 5 SYSTEM REQUIREMENTS ssesssesssesssssressusseesesssessersrenesnesenesnnsenucenseeeseeesense 6 HardWare EE 6 ee EE 9 ESD MM E 9 INSTALLATION niii A Ai ii AAA iii 10 SQFLASH UTILITY GE 11 First Window Access Code en 12 Main Window SQFlash Utility ccceceeceeeeeeeeeeeeeeeneeeeeeeeeeeeeeeeeeaaees 13 Modify ACCESS E TEE 16 About Window Advantech Copvrgaht ee eaaaaaaan 18 Get Code Window Protecting Sample Code aan 19 SMART Window Get SMART attrbute ea 20 SQFLASH UTILITY API sscccsccesscccstussccnscessecussienssseesensecsodaveessecenssccescsessuscousedsesosewesesence 21 Programming EE 21 Initialize FUNCtiON celesleenseinsni sna dievemasusinnanadedadeoanededensesdadenanedadenaes 23 GetSmartAttribute Function semeasidcinesticboumenehjactontedaenensnbeutes 26 ATA_SMART_ATTR_TABLE Structure ena ee s sasak 27 SetSecuritylD Function ENEE 28 GetSecuritylD Function ujceccescdivnnaandcccnadedinnnndasienonpedidnosdadieesedaditenadadionintede 29 ClearSecurityID Function
12. atures 3 SQFlash CompactFlash PATA DOM PATA SSD CFast SATA DOM SATA Half Slim Module mSATA SATA SSD Supported models and firmware requirement as shown below CompactFlash Firmware 2 M0J K L M 2 A0K L M 6 A1B H 6 A2A Part Number SQF P10xx xG CTx SQF P10xx xG ETx SQF P10xx xG P8C SQF P10xx xG P8E 6 of 38 Description SQFlash P6 series normal temperature CF card 0 70 C SQFlash P6 series wide temperature CF card 40 85 C SQFlash P8 series normal temperature CF card 0 70 C SQFlash P8 series wide temperature CF card 40 85 C De EmbCore PATA DOM Firmware 2 A1E F H SQFlash Utility Part Number Description SQF PDMxx xG xxCE SQFlash P6 series normal temperature PATA DOM 0 70 C SQF PDMxx xG xxEE SQFlash P6 series wide temperature PATA DOM 40 85 C SQF PDMxx xG xx8C SQFlash P8 series normal temperature PATA DOM 0 70 C SQF PDMxx xG xx8E SQFlash P8 series wide temperature PATA DOM 40 85 C 2 5 PATA SSD Firmware 3 A1A B C D Part Number Description SQF P25xx xG CTE SQFlash P7 series normal temperature PATA SSD 0 70 C SQF P25xx xG ETE SQFlash P7 series wide temperature PATA SSD 40 85 C CFast Firmware Ver6A01d Part Number Description SQF S10xx xG S7C SQFlash 520 series normal temperature CFast 0 70 C SQF S10xx xG S7E SQFlash 520 series wide temperature CFast 40 85 C SATA DOM Firmware Ver6A01d Part Number Description SQF SDMxx xG S7Cx SQF
13. ccess Code will remark as Invalid as Figure 6 GB SUSI SOFlash SOFlash Help Select Device Disk 0 SO x AD ANTECH ou 1G Invalid Software ProtegDisk SQF Disk 2 SQF PDMS2 4G Invalid 8 Security ID Max Length 256 il bytes Security IDI wl Security ID Length L H bytes Life Monitoring Endurance Check ees ill ir Get SMART Flash Lock Disable Figure 6 16 of 38 De EMmbCore User can select invalid device to change Access Code Click Yes In Figure 7 to change Access Code and you will get Figure 8 to input existing one and then user can change Access Code to new one SQFlash Utility Warning Invalid Access Code Click Yes to change Figure 7 If selected device already have Access Code inside Main program will ask to check existing one in order to change it Enter Access Code Confirm Old Access Code SS EE EECH ES Eee eee PS Figure 8 17 of 38 De EmbCore SQFlash Utility About Window Advantech Copyright About SUSI SQFlash for Windows XP Version 2 0 0812 1 Le 2010 Advantech Corporation All right reserved Warning This computer program is protected by copyright law and international treaties Unanthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extent possible under the law EmbCore Embedded Software amp Modules
14. lash 520 series normal temperature SATA DOM 0 70 C SQF SDMxx xG S7Ex SQFlash 520 series wide temperature SATA DOM 40 85 C SATA Half Slim Module Firmware SSFAMA09 11 14 18 Ver6A01d S8FM05A3 and above Part Number Description SQF SLMxx xG S5C SQFlash 810 series normal temperature SATA Slim 0 70 C SQF SLMxx xG S5E SQFlash 810 series wide temperature SATA Slim 40 85 C 7 of 38 De EmbCore SQFlash Utility SQF SLMxx xG S7C SQFlash 520 series normal temperature SATA Slim 0 70 C SQF SLMxx xG S7E SQFlash 520 series wide temperature SATA Slim 40 85 C SQF SLMxx xG S8C SQFlash 820 series normal temperature SATA Slim 0 70 C SQF SLMxx xG S8E SQFlash 820 series wide temperature SATA Slim 40 85 C Half Size mSATA Firmware Ver6A01d Part Number Description SQF SHMxx xG S7C SQFlash 520 series normal temperature H S mSATA 0 70 C SQF SHMxx xG S7E SQFlash 520 series wide temperature H S mSATA 40 85 C mSATA Firmware SSFAMA09 11 14 18 Ver6A01d S8FM05A3 and above Part Number Description SQF SMSxx xG S5C SQFlash 810 series normal temperature mSATA 0 70 C SQF SMSxx xG S5E SQFlash 810 series wide temperature MSATA 40 85 C SQF SMSxx xG S7C SQFlash 520 series normal temperature mSATA 0 70 C SQF SMSxx xG S7E SQFlash 520 series wide temperature MSATA 40 85 C SQF SMSxx xG S8C SQFlash 820 series normal temperature mSATA 0 70 C SQF SMSxx xG S8E SQFlash 820 series wide temperature MSATA 40
15. n be designed through the information of Endurance Check Benefits Faster Time to Market The Utility is ready to run without modifications System developers can use it to control the SQFlash without knowing the controller specs of the SQFlash API and sample code ready for software developers to implement flash management mechanism into their applications a Protect Your Intellectual Property In order to help protect customers intellectual property Advantech has designed in Security ID feature for Advantech SQFlash Customers can easily implement security functions on their applications base on encrypted utility and library Flash Lock feature helps user to lock SQFlash to protect flash data not to be read a Monitor SQFlash Health Advantech SQFlash management package provides utility and API to get Self Monitoring Analysis and Reporting Technology S M A R T information from SQFlash cards Customer can monitor the flash storage health and design an early warning mechanism by life span detection 5 of 38 De EMmbCore SQFlash Utility System Requirements Hardware Following hardware are required to run Advantech SQFlash Utility for Windows XP 1 Processor Minimum Requirement A 200 megahertz MHz processor such as the Intel Pentium Celeron family AMD K6 Athlon Duron family or compatible processor 2 RAM Minimum Requirement RAM size is dependent on the running applications and using XPE fe
16. ogram 100000 Average Program O Power On Time 11 Hour 38 Minute 22 Second ECC Count O HG EmbCore Embedded Software amp Modules Figure 11 20 of 38 De EMmbCore SQFlash Utility SQFlash Utility API Programming Overview SQFlash CF lib is a static link library that exports all the API functions 1 SQFlash_FindFirstDevice Initial command to get first disk number of SQFlash device 2 SQFlash_FindNextDevice Initial command to get next disk number of SQFlash device 3 SQFlash_GetDeviceModelName Initial command to get SQFlash device model name 4 SQFlash_SelectDevice Initial command to select SQFlash device by disk number 5 SQFlash_Initialize Input valid access code in order to initial SQFlash Utility 6 SQFlash_Unlnitialize Uninitialize SQFlash library 7 SQFlash_GetSmartAttribute S M A R T attribute contains 5 data in Advantech SQFlash Max Program In CF card max program and erase cycles Average Program In CF card average program and erase cycles Power On Time Power on accumulates time ECC Count Error correct code number of times counting Endurance Check Endurance Check is the result of Average P E cycles Max P E cycles 21 of 38 De EMmbCore 8 SQFlash_IsUnusedSectorExist Find available sector to restore security ID SQFlash Utility 9 SQFlash_SetSecurityID Support maximum length to 256 bytes security string which will write into the hidden area of Advantech SQFlash
17. sedSectorExist Parameters None Return Value If the function succeeds the return value is TRUE If the function fails the return value is FALSE Syntax BOOL SQFlash_SetSecurityID LPCSTR pszSecurityID Parameters pszSecurityID in Pointer to a null terminated string to be used as the new Security ID Return Value If the function succeeds the return value is TRUE If the function fails the return value is FALSE 28 of 38 De EmbCore SQFlash Utility GetSecurityID Function Syntax BOOL SQFlash_GetSecurityID PCHAR pszSecurityID DWORD cchBuffer Parameters pszSecurity D out Pointer to the buffer that will receive the Security ID cchBuffer in Specifies the maximum number of characters to copy to the buffer including the NULL character Return Value If the function succeeds the return value is TRUE If the function fails the return value is FALSE 29 of 38 De EmbCore SQFlash Utility ClearSecurityID Function Syntax BOOL SQFlash_ClearSecurityID Parameters None Return Value If the function succeeds the return value is TRUE If the function fails the return value is FALSE 30 of 38 De EMmbCore SQFlash Utility SetSecurityID2 Function Syntax int SQFlash_GetSecurityID2_MaxLen Parameters None Return Value Maximum Length to support Security ID 2 Syntax BOOL SQFlash_SetSecurityID2 LPCSTR pszSecurityID Parameters pszSecurityID in Poin
18. ssage for processing progress information The wParam with this message represents current progress and IParam is the maximum progress value Return Value If the function succeeds the return value is TRUE If the function fails the return value is FALSE 37 of 38 De EMmbCore SQFlash Utility About Advantech s Embedded Core Service Emb Core is an open business model that provides integrated boards modules and software services to speed up application development The key proficiencies of Embedded Core Services are software firmware module and board integration capability that offer customized solutions For further information please email EmbCore advantech com About Advantech Founded in 1983 Advantech is a global leading ePlatform services provider of web based technology computing platforms and customization services to empower innovations in the connected eWorld Advantech cooperates closely with partners to help provide complete solutions for a wide array of applications in various industries Advantech delivers more than a thousand products and platform solutions in 5 main categories Industrial amp Network Computing Embedded Computing Applied Computing eVideo Solutions and eAutomation With more than 2 700 talented people Advantech operates an extensive support sales and marketing network in 18 countries and 36 major cities Advantech delivers efficient time to market services to all worldwide customers
19. ter to a null terminated string to be used as the new Security ID 2 Return Value If the function succeeds the return value is TRUE If the function fails the return value is FALSE 31 of 38 De EmbCore SQFlash Utility GetSecurityID2 Function Syntax BOOL SQFlash_GetSecurityID2 PCHAR pszSecurityID DWORD cchBuffer Parameters pszSecurity D out Pointer to the buffer that will receive the Security ID2 cchBuffer in Specifies the maximum number of characters to copy to the buffer including the NULL character Return Value If the function succeeds the return value is TRUE If the function fails the return value is FALSE 32 of 38 De EmbCore SQFlash Utility ClearSecurityID2 Function Syntax BOOL SQFlash_ClearSecurityID2 Parameters None Return Value If the function succeeds the return value is TRUE If the function fails the return value is FALSE 33 of 38 De EmbCore SQFlash Utility IsSupportFlashLock Function Syntax BOOL SQFlash_IsSupportFlashLock HWND hWnd UINT msgID Parameters hWnd in Handle to a window This window will receive processing progress information by window message msgID in User defined window message for processing progress information The wParam with this message represents current progress and Param is the maximum progress value Return Value If the function succeeds the return value is TRUE If the function fails the return val
20. ue is FALSE 34 of 38 De EmbCore SQFlash Utility IsFlashLockEnable Function Syntax BOOL SQFlash_IsFlashLockEnable HWND hWnd UINT msgID Parameters hWnd in Handle to a window This window will receive processing progress information by window message msgID in User defined window message for processing progress information The wParam with this message represents current progress and IParam is the maximum progress value Return Value If the function succeeds the return value is TRUE If the function fails the return value is FALSE 35 of 38 De EmbCore SQFlash Utility EnableFlashLock Function Syntax BOOL SQFlash_EnableFlashLock LPCSTR pszPassword HWND hWnd UINT msgID Parameters pszPassword in Valid SN hWnd in Handle to a window This window will receive processing progress information by window message msgID in User defined window message for processing progress information The wParam with this message represents current progress and IParam is the maximum progress value Return Value If the function succeeds the return value is TRUE If the function fails the return value is FALSE 36 of 38 De EmbCore SQFlash Utility DisableFlashLock Function Syntax BOOL SQFlash_DisableFlashLock HWND hWnd UINT msgID Parameters hWnd in Handle to a window This window will receive processing progress information by window message msgID in User defined window me
Download Pdf Manuals
Related Search
Related Contents
Copyright © All rights reserved.
Failed to retrieve file