While browsing some code I found a call to OpenPrinter(). The code compiles and works fine. But, we are passing a HANDLE
instead of LPHANDLE
(as specified in MSDN). I found out that in windef.h
the following declaration exists:
typedef HANDLE FAR *LPHANDLE;
What does LP stand for? Should I use a LPHANDLE
, or keep HANDLE
?