//Please help me to fix itThanksbelow is my codes//#define DEFAULT_LOG_FILE_NAME L"\\??\\C:\\image.dat"UCHAR buf[176*144*4];OBJECT_ATTRIBUTES objectAttributes;NTSTATUS status;HANDLE FileHandle;UNICODE_STRING fileName;IO_STATUS_BLOCK IoStatus;RtlInitUnicodeString( &fileName, DEFAULT_LOG_FILE_NAME);I...
Hi. How can I know beforehand the buffer size (or the number of processes) used in ZwQuerySystemInformation function? I use SYSTEM_PROCESS_INFORMATION as enum value of the SystemInformationClass parameter. Thanks in advance.Ciao guagliò! ...
Hi, this is my first post over here.Well, I have a problem with ZwCreateFile, it just don't work. This is my code:#include <ntddk.h>#include <reg.h>#include <tcp.h>#include <file.h>#include <proc.h>VOID OnUnload( IN PDRIVER_OBJECT DriverObject ){}VOID DoSignature(...
Hi GurusI am using ZwCreateFile to open my PhysicalDrive0 from the Filter driver that i have written.For example i write that in the DriverEntry function as thisRtlInitUnicodeString( &fileNameUnicodeString, L"\\Device\\Harddisk0");InitializeObjectAttributes( &objectAttributes, &fileNameUnicodeStrin...
Hi, I'm writing a mapping program that is basically a big plane of polygons and lines.In order to render view of the plane in a reasonable time (it could be a very sparse plane with only parts of the map loaded) I am planning to use a quadtree or some similar spatial indexing scheme.However! Th...
Hello,I am developing with Visual C++ 2005 Express Edition and I would like to know how to see z-wheel events of the mouse in order to change the focus of a component on my visual interface.That is to say, I have the focus on Textbox1 and when an z-wheel event come, the focus will pass at the ...
Hi!When you create a window, the application adds it to a stack. The first window overlaps all the others.Is it possible to access to this list?Or how add in a "Windows" menu the list of the openned windows?Thanks in advanceSandrine...
I declare pInfo->SetMaxPages(2) and when I preview my document at 100%, everything looks great. However, when I zoom on page 2, I see nothing, but when I zoom out, I see the document. What can I do to resolve this? Page 1 zooming works great!Any response any one can give me will be greatly apprec...
below is my coding,i'm facing the zoom problem.i've tried to use the serveral methods- glScalef(),glFrustum(),gluPerspective() and glOrtho(),but not working.how i would do about this.void ChangeSize(int w, int h){GLfloat lightPos[] = {-50.0f, 50.0f, 100.0f, 1.0f};GLfloat nRange = ...
I needed to zoom in my view, so I used SetScrollSizes (MapingMode, CSize) and increased x and y data members of CSize several times. My program works, but VERY slowly. What can I do?...
How do we zoom a existing Bitmap.I am always uncomfortable with Viewport and Window coordinates. Code for the Zoomin and ZoomOut effect will be helpful for me....
I load a 400x400 pixels Bitmap on SDI app. How to maintain the Bitmap the image size (400x400) if I do a zooming x2, x4, x8. Do you have any idea how to do this?cs...