I've recently being trying to use various functions from Platform SDK in my application.. such as CreateFile, ReadFile etc.
MSDN warns that any input and output buffers must be aligned on addresses in memory that are integer multiples of the volume's sector size. It recommends using VirtualAlloc for this... ok then.. where do i start.
I need space for a structure that contains other nested structures as well multiple other structures for different functions.
Can anyone give me a code example to do this??
I'm using VisualC++ on Win2000.
Without it things are really messed up.
Thanks.
MSDN warns that any input and output buffers must be aligned on addresses in memory that are integer multiples of the volume's sector size. It recommends using VirtualAlloc for this... ok then.. where do i start.
I need space for a structure that contains other nested structures as well multiple other structures for different functions.
Can anyone give me a code example to do this??
I'm using VisualC++ on Win2000.
Without it things are really messed up.
Thanks.