Lines Matching refs:handle
26 typedef HANDLE Handle;
28 static bool CloseHandle(HANDLE handle) {
29 return ::ClosePrinter(handle) != FALSE;
32 static bool IsHandleValid(HANDLE handle) {
33 return handle != NULL;
36 static HANDLE NullHandle() {
49 HANDLE temp_handle;
50 // ::OpenPrinter may return error but assign some value into handle.
64 typedef HANDLE Handle;
66 static bool CloseHandle(HANDLE handle) {
67 ::FindClosePrinterChangeNotification(handle);
71 static bool IsHandleValid(HANDLE handle) {
72 return handle != NULL;
75 static HANDLE NullHandle() {
155 HANDLE progress_event,
156 HANDLE completion_event,
167 PRINTING_EXPORT bool InitBasicPrinterInfo(HANDLE printer,
170 PRINTING_EXPORT std::string GetDriverInfo(HANDLE printer);