Re: Is it possible to get the size of a LPVOID pointer?
Originally Posted by sonnyk88
I have intercepted ReadFile() by means of a Proxy DLL and I need to know the size of lpBuffer.
I haven't yet seen any method that could help me out.
Do you guys know any way to accomplish this? thanks.
But if you already have intercepted a call to ReadFile, the next parameter (after that void pointer) IS a size of that buffer!
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio: FeinViewer - an integrated GDI objects viewer for Visual C++ Debugger, and more...
Bookmarks