FT_STATUS
|
FT_EE_UASize
|
(FT_HANDLE ftHandle, LPDWORD lpdwSize)
|
Parameters
ftHandle
|
Handle of the device.
|
lpdwSize
|
Pointer to a DWORD that receives the size, in bytes, of the EEUA.
|
Return Value
FT_OK if successful, otherwise the return value is an FT error code.
Example
FT_HANDLE ftHandle;
FT_STATUS ftStatus = FT_Open(0, &ftHandle);
if (ftStatus != FT_OK) {
// FT_Open FAILED!
}
DWORD EEUA_Size;
ftStatus = FT_EE_UASize(ftHandle, &EEUA_Size);
if (ftStatus == FT_OK) {
// FT_EE_UASize OK
// EEUA_Size contains the size, in bytes, of the EEUA
}
else {
// FT_EE_UASize FAILED!
}