Sample Code
Windows Driver Samples/ OEM Printer Customization Plug-in Samples/ C++/ custhlp/ oemui.rc/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | // Microsoft Visual C++ generated resource script. // #include "resource.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 2 resource. // #include "winres.h" ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // English (U.S.) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252) #endif //_WIN32 ///////////////////////////////////////////////////////////////////////////// // // Version // VS_VERSION_INFO VERSIONINFO FILEVERSION 1,0,0,1 PRODUCTVERSION 1,0,0,1 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L #else FILEFLAGS 0x0L #endif FILEOS 0x40004L FILETYPE 0x2L FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904b0" BEGIN VALUE "Comments" , "Written by Windows Printing & Imaging Team" VALUE "CompanyName" , "Microsoft Corp." VALUE "FileDescription" , "OEM UI Test Module." VALUE "FileVersion" , "1, 0, 0, 1" VALUE "InternalName" , "OEMUI" VALUE "LegalCopyright" , "Copyright � 1998 - 2003 Microsoft Corp." VALUE "LegalTrademarks" , "Microsoft� is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation" VALUE "OriginalFilename" , "OEMUI.dll" VALUE "ProductName" , "Microsoft OEMUI" VALUE "ProductVersion" , "1.1" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation" , 0x409, 1200 END END #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // TEXTINCLUDE // 1 TEXTINCLUDE BEGIN "resource.h\0" END 2 TEXTINCLUDE BEGIN "#include " "winres.h" "\r\n" "\0" END 3 TEXTINCLUDE BEGIN "\r\n" "\0" END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Dialog // IDD_DEVICE_PROPPAGE DIALOG 0, 0, 179, 113 STYLE DS_SETFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Device Property Page" FONT 8, "MS Shell Dialog" BEGIN LTEXT "OEM UI Added Page" ,IDC_STATIC,55,14,68,11 PUSHBUTTON "Calibrate" ,IDC_CALIBRATE,61,34,50,14 END IDD_DOC_PROPPAGE DIALOG 0, 0, 210, 154 STYLE DS_SETFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Document Property Page" FONT 8, "MS Shell Dialog" BEGIN LTEXT "OEM UI Document Property Page" ,IDC_STATIC,60,73,108,8 END ///////////////////////////////////////////////////////////////////////////// // // DESIGNINFO // #ifdef APSTUDIO_INVOKED GUIDELINES DESIGNINFO BEGIN IDD_DEVICE_PROPPAGE, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 172 TOPMARGIN, 8 BOTTOMMARGIN, 106 END IDD_DOC_PROPPAGE, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 203 TOPMARGIN, 7 BOTTOMMARGIN, 147 END END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // String Table // STRINGTABLE BEGIN IDS_SECTION "OEM UI Added Item" IDS_CALIBRATED "Printer has been calibrated." IDS_NAME "OEM UI Customization DLL" IDS_HELPFILE "CUSTOMDRV.HLP" IDS_DEV_SECTION "Device Settings OEM UI Added Item" IDS_ADV_SECTION "Advanced OEM UI Added Item" END #endif // English (U.S.) resources ///////////////////////////////////////////////////////////////////////////// #ifndef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 3 resource. // ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED |
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