- Do I need TFAT enabled for this?
- Could it be related to the funtionality enabled in the iamge (which we
create ourselves)
This is the code I use:
{
HANDLE hStore = OpenStore(STORE);
if (INVALID_HANDLE_VALUE != hStore)
{
HANDLE hPart = OpenPartition(hStore, PARTITION);
if (INVALID_HANDLE_VALUE != hPart)
{
DismountPartition(hPart);
SCAN_PARAMS ScanParams;
ScanParams.cbSize = sizeof(ScanParams);
ScanParams.so.dwFatToUse = 1; // One-based
DWORD dwScanResult = ScanVolumeEx(hPart,&ScanParams); // dwScanResult = 0
MountPartition(hPart);
CloseHandle(hPart);
}
CloseHandle(hStore);
}
--
Luca Calligaris (MVP-Windows Embedded)
l.calliga...@eurotech.it.nospam
www.eurotech.it
"John" <Jo...@discussions.microsoft.com> ha scritto nel messaggio
news:79E3E67F-8286-4A08...@microsoft.com...
Any ideas?
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"John" <Jo...@discussions.microsoft.com> wrote in message
news:28CB3B48-B7CD-4BB6...@microsoft.com...
you are wright, I already changed this into:
SCAN_PARAMS ScanParams;
memset(&ScanParams,0,sizeof(ScanParams));
Still the same effect, ScanVolumeEx finishes succesfully (return is true)
but doesn't seem to run properly.