#include "\masm32\Include\resource.h"

#define IDD_MAIN		1000
#define IDE_IOCTL		1001
#define IDE_MNEMONIC	1002
#define IDE_DEVICE		1003
#define IDE_FUNCTION	1004
#define IDE_METHOD		1005
#define IDE_ACCESS		1006
#define IDE_BITS		1007

#define IDC_RECOGNIZES_XXX_MNEMONICS		1008

#define IDI_ICON		3000
#define IDI_BMP			3001

#define VERSION_INFO	1

/////////////////////////////////////////////////////////////////////////////
// Main Dialog
/////////////////////////////////////////////////////////////////////////////

IDD_MAIN DIALOGEX DISCARDABLE 0, 0, 268, 191
STYLE DS_3DLOOK | DS_CENTER | WS_CAPTION | WS_MINIMIZEBOX | WS_VISIBLE | WS_SYSMENU

EXSTYLE WS_EX_WINDOWEDGE

CAPTION ""
FONT 8, "MS Sans Serif"

BEGIN
    GROUPBOX        "",IDC_STATIC,2,0,264,41
    LTEXT           "Ioctl Code:",IDC_STATIC,7,10,44,8
    EDITTEXT        IDE_IOCTL,52,8,50,12,ES_AUTOHSCROLL

    LTEXT           "",IDC_RECOGNIZES_XXX_MNEMONICS,125,10,136,8

    LTEXT           "Mnemonic:",IDC_STATIC,7,25,40,8
    EDITTEXT        IDE_MNEMONIC,52,24,210,12,ES_AUTOHSCROLL

    GROUPBOX        "",IDC_STATIC,2,41,264,78
    LTEXT           "Device Type:",IDC_STATIC,7,49,44,8
    LTEXT           "Function:",IDC_STATIC,7,67,30,8
    LTEXT           "Method:",IDC_STATIC,7,86,27,8
    LTEXT           "Access:",IDC_STATIC,7,104,26,8

    EDITTEXT        IDE_DEVICE,52,50,210,10,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,
                    WS_EX_STATICEDGE
    EDITTEXT        IDE_FUNCTION,52,67,194,10,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,
                    WS_EX_STATICEDGE
    EDITTEXT        IDE_METHOD,51,85,194,10,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,
                    WS_EX_STATICEDGE
    EDITTEXT        IDE_ACCESS,51,103,194,10,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,
                    WS_EX_STATICEDGE


    GROUPBOX        "I/O Control Code Layout",IDC_STATIC,2,120,264,68
    EDITTEXT        IDE_BITS,51,133,152,10,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,
                    WS_EX_STATICEDGE
END


/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,0,0
 PRODUCTVERSION 1,0,0,0
 FILEFLAGSMASK 0x3fL
 FILEFLAGS 0x0L
 FILEOS 0x40004L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904E4"
        BEGIN
            VALUE "Comments", "Let you decode I/O Control Codes\0"
            VALUE "CompanyName", "Four-F\0"
            VALUE "FileDescription", "I/O Control Code Decoder\0"
            VALUE "FileVersion", "1, 2, 0, 0\0"
            VALUE "InternalName", "IoctlDecoder\0"
            VALUE "LegalCopyright", "Copyright © 2004 Four-F\0"
            VALUE "OriginalFilename", "IoctlDecoder.exe\0"
            VALUE "ProductName", "I/O Control Code Decoder\0"
            VALUE "ProductVersion", "1.2\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

IDI_ICON ICON DISCARDABLE "icon.ico"
IDI_BMP BITMAP DISCARDABLE "ioctl.bmp"
