Ignore:
Timestamp:
Jan 21, 2001, 8:52:46 AM (25 years ago)
Author:
bird
Message:

pre-commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/api/myVR32AllocMem.asm

    r4981 r4998  
    1 ; $Id: myVR32AllocMem.asm,v 1.2 2001-01-20 15:48:54 bird Exp $
     1; $Id: myVR32AllocMem.asm,v 1.3 2001-01-21 07:52:46 bird Exp $
    22;
    33; VR32AllocMem over loader which adds the OBJ_ANY flag.
     
    2323;
    2424    include devsegdf.inc
     25    include api.inc
    2526    include bsememf.inc
    2627    ifndef OBJ_ANY
     
    3839; Externs
    3940;
    40     extrn apiApplyChange:PROC           ; system call?
     41    extrn APIQueryEnabled:PROC
    4142    extrn _VR32AllocMem@50:PROC
    4243
     
    5859    ; It was not - check if we're to set it for this calling module.
    5960    ;
     61    movzx   ecx, word  ptr [esp + SEF_CS]
     62    mov     edx, dword ptr [esp + SEF_EIP]
    6063    push    eax
    61     push    dword ptr [esp + SEF_CS]
    62     push    dword ptr [esp + SEF_EIP]
    63     push    1
    64     call    apiApplyChange
    6564    sub     esp, 0ch
     65    mov     eax, API_DOSALLOCMEM_ANY_OBJ
     66    call    APIQueryEnabled
     67    add     esp, 0ch
    6668    test    eax, eax
    6769    pop     eax
Note: See TracChangeset for help on using the changeset viewer.