Two questions:
1.
In "ntdef.h" the NTSTATUS is defined as follow:
typedef __success(return >= 0) LONG NTSTATUS;
what the hell is the "__success(return >= 0)"?
2.
In "ntstatus.h", STATUS_SUCCESS is defined to 0.
#define STATUS_SUCCESS ((NTSTATUS)0x00000000L) // ntsubauth
But the NT_SUCCESS macro in "ntdef.h" is:
#define NT_SU...
Hi all,
I've developed a driver that is compiled for 32 bits system. The driver is unidriver based.
Does anyone knows what should be needed to get the driver compatible with 64 bits? What changes should I need to do to the code, if any? or is it just a matter of compiling it with a 64 bits version of the DDK?
Thanks in advance.
Nuno
...
TARGETNAME=OneOfMyDrivers
TARGETTYPE=DRIVER
INCLUDES=..\inc;..\..\Common\Crypto
TARGETLIBS=$(SDK_LIB_PATH)\wdmsec.lib
SOURCES=OneOfMyDrivers.c \
OneOfMyDrivers.rc\
..\..\Common\Crypto\aes_modes.c \
..\..\Common\Crypto\aescrypt.c \
..\..\Common\Crypto\aeskey.c \
...
i want to create a virtual monitor. The way this would work is that the virtual monitor would appear in a window on my desktop. As far as Windows knows it is just another monitor.
It occurs to me that it would, as a practical matter, have to be done as video card driver (i.e. rather than the video going out a wire to an LCD panel, it wo...
How does one begin writing drivers for Windows? Is there some sort of official DDK "Hello World" example out there?
While I'm sure it will be way above my head at first, eventually I would like to create a simple MIDI driver, much like the Maple Virtual MIDI Cable where the MIDI messages come from a user application rather than a physi...