Ignore:
Timestamp:
Aug 19, 2000, 4:37:21 PM (25 years ago)
Author:
bird
Message:

More bugs corrected.
It's working now!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GRACE/src/win32k/test/fake.c

    r3982 r4046  
    1 /* $Id: fake.c,v 1.1.4.1 2000-08-11 02:21:09 bird Exp $
     1/* $Id: fake.c,v 1.1.4.2 2000-08-19 14:37:21 bird Exp $
    22 *
    33 * Fake stubs for the ldr and kernel functions we imports or overloads.
     
    739739    return NO_ERROR;
    740740}
     741
     742
     743/**
     744 * KSEMReleaseMutex faker.
     745 * @returns   NO_ERROR
     746 * @param     hkmtx
     747 * @param     ulTimeout
     748 * @status    completely implemented.
     749 * @remark
     750 */
     751ULONG KRNLCALL fakeKSEMReleaseMutex(HKMTX hkmtx)
     752{
     753    printf("fakeKSEMReleaseMutex:           hkmtx = %p, usage count = %d, rc = %d\n",
     754           hkmtx, *(PLONG)hkmtx, NO_ERROR);
     755
     756    if ((*(PLONG)hkmtx) == 0)
     757        kprintf(("fakeKSEMReleaseMutex: sempahore is 0 allready\n"));
     758    else
     759        (*(PLONG)hkmtx)--;
     760
     761    return NO_ERROR;
     762}
     763
    741764
    742765
Note: See TracChangeset for help on using the changeset viewer.