• Opens a handle to access the WinDriver kernel module. The handle is used by all WinDriver APIs, and therefore must be called before any other WinDriver API is called.
HANDLE WD_Open(void);
The handle to the WinDriver kernel module.
If device could not be opened, returns INVALID_HANDLE_VALUE.
If you are a registered user, please refer to the documentation of
WD_License() [5.9] for an example of
how to register your WinDriver license.
HANDLE hWD;
hWD = WD_Open();
if (hWD == INVALID_HANDLE_VALUE)
{
printf("Cannot open WinDriver device\n");
}