Ignore:
Timestamp:
Jul 3, 2009, 11:16:30 PM (16 years ago)
Author:
ydario
Message:

kernel32 implemented SetFilePointerEx and SetWaitableTimer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/HandleManager.cpp

    r21302 r21324  
    21322132}
    21332133
     2134/***********************************************************************
     2135 *           SetFilePointerEx   (KERNEL32.@)
     2136 */
     2137BOOL WINAPI SetFilePointerEx( HANDLE hFile, LARGE_INTEGER distance,
     2138                              LARGE_INTEGER *newpos, DWORD method )
     2139{
     2140    LONG pos;
     2141    LONG newp;
     2142    BOOL res;
     2143
     2144    dprintf(("KERNEL32::SetFilePointerEx"));
     2145
     2146    pos = (LONG)distance.LowPart;
     2147    res = SetFilePointer(hFile, pos, &newp, method);
     2148    if (res != -1)
     2149    {
     2150        if (newpos) newpos->LowPart = (LONG)res;
     2151        return TRUE;
     2152    }
     2153    return FALSE;
     2154}
     2155
    21342156
    21352157/*****************************************************************************
Note: See TracChangeset for help on using the changeset viewer.