FoxSDK API Reference
ContentsIndexHome
PreviousUpNext
GetFileAllocationTable Function
Syntax
C++
int32 BS_CALL GetFileAllocationTable(HSESSION hSession, const TCHAR* lpszFilePath, struct SFileAllocationTable * pAllocTable, int32 * pnTableSize);

FoxSDKExport.h

Parameters 
Description 
HSESSION hSession 
Handle to on open session. 
const TCHAR* lpszFilePath 
File name + full path of the file to get the file allocation table from 
struct SFileAllocationTable * pAllocTable 
A pointer to a structure SFileAllocationTable
int32 * pnTableSize 
The size of the SFileAllocationTable in memory. 

The function returns BS_SDK_ERROR_NO upon successful execution. In case of an error the error code will be returned (see Error Codes).

Use this function to receive information of the file allocation table and the file extents on the disk according to the given file.

Copyright (c) 2019 IFoerster Development. All rights reserved.
What do you think about this topic? Send feedback!