PURPOSE
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.
PROTOTYPE
HANDLE WD_Open(void);
RETURN VALUE
The handle to the WinDriver kernel module.
If device could not be opened, returns INVALID_HANDLE_VALUE.
REMARKS
EXAMPLE
HANDLE hWD;
hWD = WD_Open();
if (hWD == INVALID_HANDLE_VALUE)
{
printf("Cannot open WinDriver device\n");
}