Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Curiousity on a Wish rating
Message
From
08/02/2003 05:42:24
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00748446
Message ID:
00751003
Views:
30
>Hi!
>
>>Reading your Wish #1146 again, I'm satisfied with the way you've expressed it.
>>
>
>I'm too. Just no mentioning of "Server" seems better, because client machine usually cannot control ANY caching on server by any way.
>

The FILE_FLAG_WRITE_THROUGH flag for CreateFile() causes any writes made to that handle to be written directly to the file without being buffered. The data is cached (stored in the disk cache); however, it is still written directly to the file. This method allows a read operation on that data to satisfy the read request from cached data (if it's still there), rather than having to do a file read to get the data. The write call doesn't return until the data is written to the file. This applies to remote writes as well--the network redirector passes the FILE_FLAG_WRITE_THROUGH flag to the server so that the server knows not to satisfy the write request until the data is written to the file.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform