Sample Code

Windows Driver Samples/ OEM Printer Customization Plug-in Samples/ C++/ SyncSet/ oemui.rc/

// 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
    GROUPBOX        "Oem Install Options",IDC_STATIC,15,29,81,59
    LTEXT           "OEM UI Controls",IDC_STATIC,55,14,68,11,WS_TABSTOP
    CONTROL         "Duplex Unit",IDC_CHECK_DUPLPEX,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,20,42,54,10
    CONTROL         "Printer Hard Drive",IDC_CHECK_HDRIVE,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,20,67,75,10
    CONTROL         "Envelope Feeder",IDC_CHECK_ENVFEEDER,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,20,54,71,10
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, 170
        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_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?

© 2011-2024 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS