Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
34a5b563
Commit
34a5b563
authored
Jul 22, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We cannot use forwards anymore now that kernel functions are only
exported by ordinal (reported by Marcus Meissner).
parent
bd19d67a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
197 additions
and
18 deletions
+197
-18
wow32.spec
dlls/wow32/wow32.spec
+17
-17
wow_main.c
dlls/wow32/wow_main.c
+180
-1
No files found.
dlls/wow32/wow32.spec
View file @
34a5b563
# ordinal exports
# ordinal exports
1 stdcall WOWGetDescriptor(long long)
kernel32.K32WOWGetDescriptor
1 stdcall WOWGetDescriptor(long long)
@ stdcall WOWCallback16(long long)
kernel32.K32WOWCallback16
@ stdcall WOWCallback16(long long)
@ stdcall WOWCallback16Ex(ptr long long ptr ptr)
kernel32.K32WOWCallback16Ex
@ stdcall WOWCallback16Ex(ptr long long ptr ptr)
@ stdcall WOWDirectedYield16(long)
kernel32.K32WOWDirectedYield16
@ stdcall WOWDirectedYield16(long)
@ stdcall WOWGetVDMPointer(long long long)
kernel32.K32WOWGetVDMPointer
@ stdcall WOWGetVDMPointer(long long long)
@ stdcall WOWGetVDMPointerFix(long long long)
kernel32.K32WOWGetVDMPointerFix
@ stdcall WOWGetVDMPointerFix(long long long)
@ stdcall WOWGetVDMPointerUnfix(long)
kernel32.K32WOWGetVDMPointerUnfix
@ stdcall WOWGetVDMPointerUnfix(long)
@ stdcall WOWGlobalAlloc16(long long)
kernel32.K32WOWGlobalAlloc16
@ stdcall WOWGlobalAlloc16(long long)
@ stdcall WOWGlobalAllocLock16(long long ptr)
kernel32.K32WOWGlobalAllocLock16
@ stdcall WOWGlobalAllocLock16(long long ptr)
@ stdcall WOWGlobalFree16(long)
kernel32.K32WOWGlobalFree16
@ stdcall WOWGlobalFree16(long)
@ stdcall WOWGlobalLock16(long)
kernel32.K32WOWGlobalLock16
@ stdcall WOWGlobalLock16(long)
@ stdcall WOWGlobalLockSize16(long ptr)
kernel32.K32WOWGlobalLockSize16
@ stdcall WOWGlobalLockSize16(long ptr)
@ stdcall WOWGlobalUnlock16(long)
kernel32.K32WOWGlobalUnlock16
@ stdcall WOWGlobalUnlock16(long)
@ stdcall WOWGlobalUnlockFree16(long)
kernel32.K32WOWGlobalUnlockFree16
@ stdcall WOWGlobalUnlockFree16(long)
@ stdcall WOWHandle16(long long)
kernel32.K32WOWHandle16
@ stdcall WOWHandle16(long long)
@ stdcall WOWHandle32(long long)
kernel32.K32WOWHandle32
@ stdcall WOWHandle32(long long)
@ stdcall WOWYield16()
kernel32.K32WOWYield16
@ stdcall WOWYield16()
dlls/wow32/wow_main.c
View file @
34a5b563
/* nothing here yet */
/*
* Win32 Windows-on-Windows support
*
* Copyright 2005 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wownt32.h"
#undef WOWHandle32
#undef WOWHandle16
#undef WOWCallback16
#undef WOWCallback16Ex
BOOL
WINAPI
K32WOWGetDescriptor
(
DWORD
,
LPLDT_ENTRY
);
LPVOID
WINAPI
K32WOWGetVDMPointer
(
DWORD
,
DWORD
,
BOOL
);
LPVOID
WINAPI
K32WOWGetVDMPointerFix
(
DWORD
,
DWORD
,
BOOL
);
void
WINAPI
K32WOWGetVDMPointerUnfix
(
DWORD
);
WORD
WINAPI
K32WOWGlobalAlloc16
(
WORD
,
DWORD
);
WORD
WINAPI
K32WOWGlobalFree16
(
WORD
);
DWORD
WINAPI
K32WOWGlobalLock16
(
WORD
);
BOOL
WINAPI
K32WOWGlobalUnlock16
(
WORD
);
DWORD
WINAPI
K32WOWGlobalAllocLock16
(
WORD
,
DWORD
,
WORD
*
);
WORD
WINAPI
K32WOWGlobalUnlockFree16
(
DWORD
);
DWORD
WINAPI
K32WOWGlobalLockSize16
(
WORD
,
PDWORD
);
void
WINAPI
K32WOWYield16
(
void
);
void
WINAPI
K32WOWDirectedYield16
(
WORD
);
/**********************************************************************
* WOWGetDescriptor (WOW32.1)
*/
BOOL
WINAPI
WOWGetDescriptor
(
DWORD
segptr
,
LPLDT_ENTRY
ldtent
)
{
return
K32WOWGetDescriptor
(
segptr
,
ldtent
);
}
/**********************************************************************
* WOWGetVDMPointer (WOW32.@)
*/
LPVOID
WINAPI
WOWGetVDMPointer
(
DWORD
vp
,
DWORD
dwBytes
,
BOOL
fProtectedMode
)
{
return
K32WOWGetVDMPointer
(
vp
,
dwBytes
,
fProtectedMode
);
}
/**********************************************************************
* WOWGetVDMPointerFix (WOW32.@)
*/
LPVOID
WINAPI
WOWGetVDMPointerFix
(
DWORD
vp
,
DWORD
dwBytes
,
BOOL
fProtectedMode
)
{
return
K32WOWGetVDMPointerFix
(
vp
,
dwBytes
,
fProtectedMode
);
}
/**********************************************************************
* WOWGetVDMPointerUnfix (WOW32.@)
*/
void
WINAPI
WOWGetVDMPointerUnfix
(
DWORD
vp
)
{
K32WOWGetVDMPointerUnfix
(
vp
);
}
/**********************************************************************
* WOWGlobalAlloc16 (WOW32.@)
*/
WORD
WINAPI
WOWGlobalAlloc16
(
WORD
wFlags
,
DWORD
cb
)
{
return
K32WOWGlobalAlloc16
(
wFlags
,
cb
);
}
/**********************************************************************
* WOWGlobalFree16 (WOW32.@)
*/
WORD
WINAPI
WOWGlobalFree16
(
WORD
hMem
)
{
return
K32WOWGlobalFree16
(
hMem
);
}
/**********************************************************************
* WOWGlobalLock16 (WOW32.@)
*/
DWORD
WINAPI
WOWGlobalLock16
(
WORD
hMem
)
{
return
K32WOWGlobalLock16
(
hMem
);
}
/**********************************************************************
* WOWGlobalUnlock16 (WOW32.@)
*/
BOOL
WINAPI
WOWGlobalUnlock16
(
WORD
hMem
)
{
return
K32WOWGlobalUnlock16
(
hMem
);
}
/**********************************************************************
* WOWGlobalAllocLock16 (WOW32.@)
*/
DWORD
WINAPI
WOWGlobalAllocLock16
(
WORD
wFlags
,
DWORD
cb
,
WORD
*
phMem
)
{
return
K32WOWGlobalAllocLock16
(
wFlags
,
cb
,
phMem
);
}
/**********************************************************************
* WOWGlobalLockSize16 (WOW32.@)
*/
DWORD
WINAPI
WOWGlobalLockSize16
(
WORD
hMem
,
PDWORD
pcb
)
{
return
K32WOWGlobalLockSize16
(
hMem
,
pcb
);
}
/**********************************************************************
* WOWGlobalUnlockFree16 (WOW32.@)
*/
WORD
WINAPI
WOWGlobalUnlockFree16
(
DWORD
vpMem
)
{
return
K32WOWGlobalUnlockFree16
(
vpMem
);
}
/**********************************************************************
* WOWYield16 (WOW32.@)
*/
void
WINAPI
WOWYield16
(
void
)
{
K32WOWYield16
();
}
/**********************************************************************
* WOWDirectedYield16 (WOW32.@)
*/
void
WINAPI
WOWDirectedYield16
(
WORD
htask16
)
{
K32WOWDirectedYield16
(
htask16
);
}
/***********************************************************************
* WOWHandle32 (WOW32.@)
*/
HANDLE
WINAPI
WOWHandle32
(
WORD
handle
,
WOW_HANDLE_TYPE
type
)
{
return
K32WOWHandle32
(
handle
,
type
);
}
/***********************************************************************
* WOWHandle16 (WOW32.@)
*/
WORD
WINAPI
WOWHandle16
(
HANDLE
handle
,
WOW_HANDLE_TYPE
type
)
{
return
K32WOWHandle16
(
handle
,
type
);
}
/**********************************************************************
* WOWCallback16Ex (WOW32.@)
*/
BOOL
WINAPI
WOWCallback16Ex
(
DWORD
vpfn16
,
DWORD
dwFlags
,
DWORD
cbArgs
,
LPVOID
pArgs
,
LPDWORD
pdwRetCode
)
{
return
K32WOWCallback16Ex
(
vpfn16
,
dwFlags
,
cbArgs
,
pArgs
,
pdwRetCode
);
}
/**********************************************************************
* WOWCallback16 (WOW32.@)
*/
DWORD
WINAPI
WOWCallback16
(
DWORD
vpfn16
,
DWORD
dwParam
)
{
return
K32WOWCallback16
(
vpfn16
,
dwParam
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment