Sample Code
windows driver samples/ Print Monitors Samples/ C++/ localui/ dialogs.h/
/*++ Copyright (c) 1990-2003 Microsoft Corporation All rights reserved Module Name: dialogs.h --*/ #ifndef _DIALOGS_H_ #define _DIALOGS_H_ // // Use the window word of the entry field to store last valid entry // #define SET_LAST_VALID_ENTRY( hwnd, id, val ) \ SetWindowLongPtr( GetDlgItem( hwnd, id ), GWLP_USERDATA, (LONG_PTR)val ) #define GET_LAST_VALID_ENTRY( hwnd, id ) \ GetWindowLongPtr( GetDlgItem( hwnd, id ), GWLP_USERDATA ) BOOL PortNameInitDialog( HWND hwnd, _In_ PPORTDIALOG pPort ); BOOL PortNameCommandOK( HWND hwnd ); BOOL PortNameCommandCancel( HWND hwnd ); BOOL ConfigureLPTPortInitDialog( HWND hwnd, _In_ PPORTDIALOG pPort ); BOOL ConfigureLPTPortCommandOK( HWND hwnd ); BOOL ConfigureLPTPortCommandCancel( HWND hwnd ); BOOL ConfigureLPTPortCommandTransmissionRetryUpdate( HWND hwnd, WORD CtlId ); #endif // _DIALOGS_H_
Our Services
-
What our customers say about us?
Read our customer testimonials to find out why our clients keep returning for their projects.
View Testimonials