I'm trying to use this function in my test program to initialize a handle to an example printer driver that I have built through WDK. However, I'm confused about some of the parameters in the function as listed in http://msdn.microsoft.com/en-us/library/ms533246.aspx : 1. Is lpszDriver limited to only DISPLAY or WINSPOOL? 2. For lpszDevice, I'm not sure in what form would the api consider to be correct. Does EnumDisplayDevices also work for showing valid names of printers?