Rev 923 | Rev 1018 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 923 | Rev 991 | ||
---|---|---|---|
Line 3768... | Line 3768... | ||
3768 | * If ecx=0, the function frees memory block at edx and returns 0. |
3768 | * If ecx=0, the function frees memory block at edx and returns 0. |
3769 | * The contents of the block are unchanged up to the shorter of |
3769 | * The contents of the block are unchanged up to the shorter of |
3770 | the new and old sizes. |
3770 | the new and old sizes. |
Line 3771... | Line 3771... | ||
3771 | 3771 | ||
- | 3772 | ====================================================================== |
|
- | 3773 | ======= Function 68, subfunction 22 - open memory block. ======= |
|
- | 3774 | ====================================================================== |
|
- | 3775 | Parameters: |
|
- | 3776 | * eax = 68 - function number |
|
- | 3777 | * ebx = 22 - subfunction number |
|
- | 3778 | * ecx = pointer to already allocated block (max 32 symbols) |
|
- | 3779 | * edx = block's size in bytes for SHM_CREATE and SHM_OPEN_ALWAYS |
|
- | 3780 | * esi = flags for opening and getting access |
|
- | 3781 | SHM_OPEN = 0x00 |
|
- | 3782 | SHM_OPEN_ALWAYS = 0x04 |
|
- | 3783 | SHM_CREATE = 0x08 |
|
- | 3784 | SHM_READ = 0x00 |
|
- | 3785 | SHM_WRITE = 0x01 |
|
- | 3786 | Returned value: |
|
- | 3787 | * eax = pointer to the readed block, 0 = error |
|
- | 3788 | * edx = if SHM_CREATE, SHM_OPEN, or SHM_OPEN_ALWAYS active |
|
- | 3789 | Error codes: |
|
- | 3790 | * E_NOTFOUND = 5 |
|
- | 3791 | * E_ACCESS = 10 |
|
- | 3792 | * E_NOMEM = 30 |
|
- | 3793 | * E_PARAM = 33 |
|
- | 3794 | Remarks: |
|
- | 3795 | * |
|
- | 3796 | * |
|
- | 3797 | ||
- | 3798 | ====================================================================== |
|
- | 3799 | ======= Function 68, subfunction 22 - close memory block. ======= |
|
- | 3800 | ====================================================================== |
|
- | 3801 | Parameters: |
|
- | 3802 | * eax = 68 - function number |
|
- | 3803 | * ebx = 23 - subfunction number |
|
- | 3804 | * ecx = pointer to already allocated block (max 32 symbols) |
|
- | 3805 | ||
- | 3806 | Returned value: |
|
- | 3807 | * not defined |
|
- | 3808 | ||
3772 | ====================================================================== |
3809 | ====================================================================== |
3773 | ====================== Fucntion 69 - debugging. ====================== |
3810 | ====================== Fucntion 69 - debugging. ====================== |
3774 | ====================================================================== |
3811 | ====================================================================== |
3775 | A process can load other process as debugged by set of corresponding |
3812 | A process can load other process as debugged by set of corresponding |
3776 | bit by call to subfunction 7 of function 70. |
3813 | bit by call to subfunction 7 of function 70. |