Changeset 22035


Ignore:
Timestamp:
Oct 23, 2012, 12:08:12 AM (8 years ago)
Author:
dmik
Message:

kernel32: Stub RegisterWaitForSingleObject?, UnregisterWaitEx?, GetNativeSystemInfo?.

Needed for Flash 11.4. Might require a complete implementation (this doesn't relate to
GetNativeSystemInfo? which is simply an alias for GetNativeSystemInfo? in the 32-bit
environment).

Location:
trunk/src/kernel32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/kernel32.def

    r22019 r22035  
    10221022    GetCPInfoExW               = "_GetCPInfoExW@12"            @924
    10231023    ConvertThreadToFiber       = "_ConvertThreadToFiber@4"     @925
     1024    RegisterWaitForSingleObject= "_RegisterWaitForSingleObject@24" @926
     1025    UnregisterWaitEx           = "_UnregisterWaitEx@8"         @927
     1026    GetNativeSystemInfo        = "_GetSystemInfo@4"            @928
     1027
    10241028;
    10251029; ENDOFEXPORTS
  • trunk/src/kernel32/kernel32dbg.def

    r22019 r22035  
    10251025
    10261026    ConvertThreadToFiber       = "_ConvertThreadToFiber@4"     @925
     1027    RegisterWaitForSingleObject= "_RegisterWaitForSingleObject@24" @926
     1028    UnregisterWaitEx           = "_UnregisterWaitEx@8"         @927
     1029    GetNativeSystemInfo        = "_GetSystemInfo@4"            @928
    10271030
    10281031;
  • trunk/src/kernel32/stubs.cpp

    r22019 r22035  
    15911591}
    15921592
     1593/*****************************************************************************
     1594 * Name      : RegisterWaitForSingleObject KERNEL32.@
     1595 * Purpose   : Directs a thread in the thread pool to wait on the object.
     1596 */
     1597BOOL WINAPI RegisterWaitForSingleObject( PHANDLE phNewWaitObject,
     1598                                         HANDLE hObject,
     1599                                         LPVOID Callback,
     1600                                         PVOID Context,
     1601                                         ULONG dwMilliseconds,
     1602                                         ULONG dwFlags )
     1603{
     1604  dprintf(("KERNEL32: RegisterWaitForSingleObject() not implemented\n"));
     1605  SetLastError(ERROR_NOT_SUPPORTED);
     1606  return (FALSE);
     1607}
     1608
     1609/*****************************************************************************
     1610 * Name      : UnregisterWaitEx KERNEL32.@
     1611 * Purpose   : Cancels a registered wait operation issued by the
     1612 *             RegisterWaitForSingleObject funciton.
     1613 */
     1614BOOL WINAPI UnregisterWaitEx( HANDLE WaitHandle,
     1615                              HANDLE CompletionEvent )
     1616{
     1617  dprintf(("KERNEL32: UnregisterWaitEx() not implemented\n"));
     1618  SetLastError(ERROR_NOT_SUPPORTED);
     1619  return (FALSE);
     1620}
     1621
    15931622} // extern "C"
    15941623
Note: See TracChangeset for help on using the changeset viewer.