OpenEuphoria: Euphoria v4.1

# OpenEuphoria Manual

## Euphoria v4.1

routine or constant name search

| Up |  |  | TOC | Index
<< 7 Included Tools | < 8.45 Indirect Routine Calling | Up: 8 API Reference | 8.47 Graphics Constants > | 9 Release Notes >>

## 8.46 Memory Constants

### 8.46.1 Microsoft Windows Memory Protection Constants

These constant names are taken right from Microsoft's Memory Protection constants.

#### 8.46.1.1 PAGE_EXECUTE

    include std/memconst.e
    namespace memconst
    public constant PAGE_EXECUTE

You may run the data in this page

#### 8.46.1.2 PAGE_EXECUTE_READ

    include std/memconst.e
    namespace memconst
    public constant PAGE_EXECUTE_READ

You may read or run the data

#### 8.46.1.3 PAGE_EXECUTE_READWRITE

    include std/memconst.e
    namespace memconst
    public constant PAGE_EXECUTE_READWRITE

You may run, read or write in this page

#### 8.46.1.4 PAGE_EXECUTE_WRITECOPY

    include std/memconst.e
    namespace memconst
    public constant PAGE_EXECUTE_WRITECOPY

You may run or write in this page

#### 8.46.1.5 PAGE_WRITECOPY

    include std/memconst.e
    namespace memconst
    public constant PAGE_WRITECOPY

You may write to this page.

#### 8.46.1.6 PAGE_READWRITE

    include std/memconst.e
    namespace memconst
    public constant PAGE_READWRITE

You may read or write in this page.

#### 8.46.1.7 PAGE_READONLY

    include std/memconst.e
    namespace memconst
    public constant PAGE_READONLY

You may only read data in this page

#### 8.46.1.8 PAGE_NOACCESS

    include std/memconst.e
    namespace memconst
    public constant PAGE_NOACCESS

You have no access to this page

### 8.46.2 Standard Library Memory Protection Constants

Memory Protection Constants are the same constants names and meaning across all platforms yet possibly of different numeric value. They are only necessary for allocate_protect

The constant names are created like this: You have four aspects of protection READ, WRITE, EXECUTE and COPY. You take the word PAGE and you concatonate an underscore and the aspect in the order above. For example: PAGE_WRITE_EXECUTE The sole exception to this nomenclature is when you will have no acesss to the page the constant is called PAGE_NONE.

#### 8.46.2.1 PAGE_NONE

    include std/memconst.e
    namespace memconst
    public constant PAGE_NONE

You have no access to this page.

#### 8.46.2.2 PAGE_READ_EXECUTE

    include std/memconst.e
    namespace memconst
    public constant PAGE_READ_EXECUTE

You may read or run the data An alias to PAGE_EXECUTE_READ

#### 8.46.2.3 PAGE_READ_WRITE

    include std/memconst.e
    namespace memconst
    public constant PAGE_READ_WRITE

You may read or write to this page An alias to PAGE_READWRITE

#### 8.46.2.4 PAGE_READ

    include std/memconst.e
    namespace memconst
    public constant PAGE_READ

You may only read to this page An alias to PAGE_READONLY

#### 8.46.2.5 PAGE_READ_WRITE_EXECUTE

    include std/memconst.e
    namespace memconst
    public constant PAGE_READ_WRITE_EXECUTE

You may run, read or write in this page An alias to PAGE_EXECUTE_READWRITE

#### 8.46.2.6 PAGE_WRITE_EXECUTE_COPY

    include std/memconst.e
    namespace memconst
    public constant PAGE_WRITE_EXECUTE_COPY

You may run or write to this page. Data will copied for use with other processes when you first write to it.

#### 8.46.2.7 PAGE_WRITE_COPY

    include std/memconst.e
    namespace memconst
    public constant PAGE_WRITE_COPY

You may write to this page. Data will copied for use with other processes when you first write to it.

| Up |  |  | TOC | Index
<< 7 Included Tools | < 8.45 Indirect Routine Calling | Up: 8 API Reference | 8.47 Graphics Constants > | 9 Release Notes >>