-23
THREE
、
FUNCTION Introduction
1.
bool SUNLITRFID_CFExist (
TCHAR *CFName
);
SUNLITRFID_ComportNumGet
is used to find the CF card in your PPC.
Parameters
:
CFName
:
The parameter is shown as TCHAR array format, when this function is executed successfully, the array will show each
COMPORT name that inserted CF card. For example, your PPC has 2 different CF card, insert into COM 1 and COM 4, then
CFName will show as “COM1\0x00COM4\0x00”.
Return Values
:
We need to judge whether we find COMPORT or not, so we define Return Value “TRUE” for successfully find, “False” for failed.
For example
:
TCHAR CFName[1024];
if(SUNLITRFID_CFExist(CFName))
{}//Found CF card successfully
else //Not found CF card
{}