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

1.1       root        1: #include "windows.h"
                      2: #include "virtmem.h"
                      3: 
                      4: VirtMem_Menu MENU
                      5:     BEGIN
                      6:      POPUP   "State"
                      7:       BEGIN
                      8:         MENUITEM "Commit",     IDM_COMMIT
                      9:         MENUITEM "Reserve ",   IDM_RESERVE
                     10:         MENUITEM "Free",       IDM_FREE
                     11:       END
                     12:      POPUP   "Access"
                     13:       BEGIN
                     14:         MENUITEM "Read Write", IDM_READWRITE
                     15:         MENUITEM "Read Only",  IDM_READONLY
                     16:         MENUITEM "No Access",  IDM_NOACCESS
                     17:       END
                     18:      POPUP   "Lock"
                     19:        BEGIN
                     20:          MENUITEM "Lock",      IDM_LOCK
                     21:          MENUITEM "UnLock",    IDM_UNLOCK
                     22:        END
                     23:      POPUP   "Test"
                     24:       BEGIN
                     25:         MENUITEM "Write to mem.", IDM_WRITE
                     26:       END
                     27:      MENUITEM "Show Page",     IDM_SHOW
                     28:     END
                     29: 
                     30: 
                     31: 
                     32: 
                     33: Page_Info DIALOG 6, 18, 156, 86
                     34: STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
                     35: CAPTION "Page Information"
                     36: FONT 8, "Helv"
                     37: BEGIN
                     38:     EDITTEXT        IDE_BASEADDR, 4, 64, 66, 12, ES_READONLY | NOT WS_TABSTOP
                     39:     LTEXT           "Base Address", 65535, 5, 55, 46, 8
                     40: 
                     41:     LTEXT           "Current Protection", 65535, 76, 2, 66, 8
                     42:     EDITTEXT        IDE_PROTECT, 75, 11, 77, 12, ES_READONLY | NOT WS_TABSTOP
                     43: 
                     44:     LTEXT           "Initial Protection", 65535, 5, 29, 60, 8
                     45:     EDITTEXT        IDE_INITPROT, 4, 38, 66, 12, ES_READONLY | NOT WS_TABSTOP
                     46: 
                     47:     LTEXT           "Size in bytes", 65535, 76, 29, 66, 8
                     48:     EDITTEXT        IDE_SIZE, 75, 38, 77, 12, ES_READONLY | NOT WS_TABSTOP
                     49: 
                     50:     LTEXT           "Page State", 65535, 5, 2, 55, 8
                     51:     EDITTEXT        IDE_STATE, 4, 11, 66, 12, ES_READONLY | NOT WS_TABSTOP
                     52: 
                     53:     LTEXT           "Allocation Base", 65535, 76, 55, 67, 8
                     54:     EDITTEXT        IDE_ALLOCBASE, 75, 64, 77, 12, ES_READONLY | NOT WS_TABSTOP
                     55: END

unix.superglobalmegacorp.com

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