VirtualBox

Changeset 80031 in vbox


Ignore:
Timestamp:
Jul 28, 2019 10:01:31 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132466
Message:

Runtime/r3/win/vcc100-kernel32-fakes.cpp: Include CreateIoCompletionPort, GetQueuedCompletionStatus and PostQueuedCompletionStatus for fileaio-win.cpp which got promoted to RuntimeR3 previously

Location:
trunk/src/VBox/Runtime/r3/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/vcc100-kernel32-fakes.cpp

    r76553 r80031  
    8888    InitializeCriticalSection(pCritSect);
    8989    return TRUE;
     90}
     91
     92
     93DECL_KERNEL32(HANDLE) Fake_CreateIoCompletionPort(HANDLE hFile, HANDLE hExistingCompletionPort, ULONG_PTR uCompletionKey,
     94                                                  DWORD cConcurrentThreads)
     95{
     96    RT_NOREF(hFile, hExistingCompletionPort, uCompletionKey, cConcurrentThreads);
     97    SetLastError(ERROR_NOT_SUPPORTED);
     98    return NULL;
     99}
     100
     101
     102DECL_KERNEL32(BOOL) Fake_GetQueuedCompletionStatus(HANDLE hCompletionPort, PDWORD_PTR pcbTransfered, PULONG_PTR puCompletionKey,
     103                                                   LPOVERLAPPED pOverlapped, DWORD cMs)
     104{
     105    RT_NOREF(hCompletionPort, pcbTransfered, puCompletionKey, pOverlapped, cMs);
     106    SetLastError(ERROR_NOT_SUPPORTED);
     107    return FALSE;
     108}
     109
     110
     111DECL_KERNEL32(BOOL) Fake_PostQueuedCompletionStatus(HANDLE hCompletionPort, DWORD cbTransfered, ULONG_PTR uCompletionKey,
     112                                                    LPOVERLAPPED pOverlapped)
     113{
     114    RT_NOREF(hCompletionPort, cbTransfered, uCompletionKey, pOverlapped);
     115    SetLastError(ERROR_NOT_SUPPORTED);
     116    return FALSE;
    90117}
    91118
  • trunk/src/VBox/Runtime/r3/win/vcc100-kernel32-fakes.h

    r70375 r80031  
    44MAKE_IMPORT_ENTRY(6,0, EncodePointer, 4)
    55COMMENT("XP")
     6MAKE_IMPORT_ENTRY(5,1, CreateIoCompletionPort, 16)
     7MAKE_IMPORT_ENTRY(5,1, GetQueuedCompletionStatus, 20)
    68MAKE_IMPORT_ENTRY(5,1, HeapSetInformation, 16)
    79MAKE_IMPORT_ENTRY(5,1, HeapQueryInformation, 20)
     
    1012MAKE_IMPORT_ENTRY(5,1, InterlockedPopEntrySList, 4)
    1113MAKE_IMPORT_ENTRY(5,1, InterlockedPushEntrySList, 8)
     14MAKE_IMPORT_ENTRY(5,1, PostQueuedCompletionStatus, 16)
    1215MAKE_IMPORT_ENTRY(5,1, QueryDepthSList, 4)
    1316COMMENT("W2K")
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette