Annotation of q_a/samples/virtmem/virtmem.rc, revision 1.1.1.2

1.1.1.2 ! root        1: 
        !             2: //-----------------------------------------------------------------------------
        !             3: // This is a part of the Microsoft Source Code Samples. 
        !             4: // Copyright (C) 1993 Microsoft Corporation.
        !             5: // All rights reserved. 
        !             6: //  
        !             7: // This source code is only intended as a supplement to 
        !             8: // Microsoft Development Tools and/or WinHelp documentation.
        !             9: // See these sources for detailed information regarding the 
        !            10: // Microsoft samples programs.
        !            11: //-----------------------------------------------------------------------------
        !            12: 
1.1       root       13: #include "windows.h"
                     14: #include "virtmem.h"
                     15: 
                     16: VirtMem_Menu MENU
                     17:     BEGIN
                     18:      POPUP   "State"
                     19:       BEGIN
                     20:         MENUITEM "Commit",     IDM_COMMIT
                     21:         MENUITEM "Reserve ",   IDM_RESERVE
                     22:         MENUITEM "Free",       IDM_FREE
                     23:       END
                     24:      POPUP   "Access"
                     25:       BEGIN
                     26:         MENUITEM "Read Write", IDM_READWRITE
                     27:         MENUITEM "Read Only",  IDM_READONLY
                     28:         MENUITEM "No Access",  IDM_NOACCESS
                     29:       END
                     30:      POPUP   "Lock"
                     31:        BEGIN
                     32:          MENUITEM "Lock",      IDM_LOCK
                     33:          MENUITEM "UnLock",    IDM_UNLOCK
                     34:        END
                     35:      POPUP   "Test"
                     36:       BEGIN
                     37:         MENUITEM "Write to mem.", IDM_WRITE
                     38:       END
                     39:      MENUITEM "Show Page",     IDM_SHOW
                     40:     END
                     41: 
                     42: 
                     43: 
                     44: 
                     45: Page_Info DIALOG 6, 18, 156, 86
                     46: STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
                     47: CAPTION "Page Information"
                     48: FONT 8, "Helv"
                     49: BEGIN
                     50:     EDITTEXT        IDE_BASEADDR, 4, 64, 66, 12, ES_READONLY | NOT WS_TABSTOP
                     51:     LTEXT           "Base Address", 65535, 5, 55, 46, 8
                     52: 
                     53:     LTEXT           "Current Protection", 65535, 76, 2, 66, 8
                     54:     EDITTEXT        IDE_PROTECT, 75, 11, 77, 12, ES_READONLY | NOT WS_TABSTOP
                     55: 
                     56:     LTEXT           "Initial Protection", 65535, 5, 29, 60, 8
                     57:     EDITTEXT        IDE_INITPROT, 4, 38, 66, 12, ES_READONLY | NOT WS_TABSTOP
                     58: 
                     59:     LTEXT           "Size in bytes", 65535, 76, 29, 66, 8
                     60:     EDITTEXT        IDE_SIZE, 75, 38, 77, 12, ES_READONLY | NOT WS_TABSTOP
                     61: 
                     62:     LTEXT           "Page State", 65535, 5, 2, 55, 8
                     63:     EDITTEXT        IDE_STATE, 4, 11, 66, 12, ES_READONLY | NOT WS_TABSTOP
                     64: 
                     65:     LTEXT           "Allocation Base", 65535, 76, 55, 67, 8
                     66:     EDITTEXT        IDE_ALLOCBASE, 75, 64, 77, 12, ES_READONLY | NOT WS_TABSTOP
                     67: END

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.