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
4104301e
Commit
4104301e
authored
Nov 07, 1998
by
Charles Suprin
Committed by
Alexandre Julliard
Nov 07, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stubs for SetWinMetaFileBits and GetEnhMetaFilePaletteEntries.
parent
b76462c9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
2 deletions
+53
-2
windows.h
include/windows.h
+2
-0
enhmetafile.c
objects/enhmetafile.c
+49
-0
gdi32.spec
relay32/gdi32.spec
+2
-2
No files found.
include/windows.h
View file @
4104301e
...
...
@@ -6818,6 +6818,7 @@ HENHMETAFILE32 WINAPI GetEnhMetaFile32W(LPCWSTR);
#define GetEnhMetaFile WINELIB_NAME_AW(GetEnhMetaFile)
UINT32
WINAPI
GetEnhMetaFileBits
(
HENHMETAFILE32
,
UINT32
,
LPBYTE
);
UINT32
WINAPI
GetEnhMetaFileHeader
(
HENHMETAFILE32
,
UINT32
,
LPENHMETAHEADER
);
UINT32
WINAPI
GetEnhMetaFilePaletteEntries
(
HENHMETAFILE32
,
UINT32
,
LPPALETTEENTRY
);
LPSTR
WINAPI
GetEnvironmentStrings32A
(
void
);
LPWSTR
WINAPI
GetEnvironmentStrings32W
(
void
);
#define GetEnvironmentStrings WINELIB_NAME_AW(GetEnvironmentStrings)
...
...
@@ -9268,6 +9269,7 @@ void WINAPI SetWindowText32W(HWND32,LPCWSTR);
#define SetWindowText WINELIB_NAME_AW(SetWindowText)
WORD
WINAPI
SetWindowWord16
(
HWND16
,
INT16
,
WORD
);
WORD
WINAPI
SetWindowWord32
(
HWND32
,
INT32
,
WORD
);
HENHMETAFILE32
WINAPI
SetWinMetaFileBits
(
UINT32
,
CONST
BYTE
*
,
HDC32
,
CONST
METAFILEPICT32
*
);
#define SetWindowWord WINELIB_NAME(SetWindowWord)
BOOL16
WINAPI
ShellAbout16
(
HWND16
,
LPCSTR
,
LPCSTR
,
HICON16
);
BOOL32
WINAPI
ShellAbout32A
(
HWND32
,
LPCSTR
,
LPCSTR
,
HICON32
);
...
...
objects/enhmetafile.c
View file @
4104301e
...
...
@@ -9,6 +9,7 @@
#include "winbase.h"
#include "winnt.h"
#include "debug.h"
#include "winerror.h"
/*****************************************************************************
* GetEnhMetaFile32A (GDI32.174)
...
...
@@ -502,4 +503,52 @@ HENHMETAFILE32 WINAPI CopyEnhMetaFile32A(
}
}
/*****************************************************************************
* GetEnhMetaFilePaletteEntries (GDI32.179)
*
* Copy the palette and report size
*/
UINT32
WINAPI
GetEnhMetaFilePaletteEntries
(
HENHMETAFILE32
hemf
,
UINT32
cEntries
,
LPPALETTEENTRY
lppe
)
{
LPENHMETAHEADER
h
=
GlobalLock32
(
hemf
);
UINT32
temp
=
h
->
nPalEntries
;
if
(
h
==
NULL
){
GlobalUnlock32
(
hemf
);
return
(
0
);
}
else
{
if
((
lppe
)
&&
(
cEntries
>
0
)){
FIXME
(
metafile
,
"Stub
\n
"
);
GlobalUnlock32
(
hemf
);
return
(
GDI_ERROR
);
}
else
{
GlobalUnlock32
(
hemf
);
return
(
0
);
}
}
}
/******************************************************************
* SetWinMetaFileBits (GDI32.343)
*
* Translate from old style to new style.
*/
HENHMETAFILE32
WINAPI
SetWinMetaFileBits
(
UINT32
cbBuffer
,
CONST
BYTE
*
lpbBuffer
,
HDC32
hdcRef
,
CONST
METAFILEPICT32
*
lpmfp
)
{
FIXME
(
metafile
,
"Stub
\n
"
);
return
NULL
;
}
relay32/gdi32.spec
View file @
4104301e
...
...
@@ -181,7 +181,7 @@ init MAIN_GdiInit
176 stdcall GetEnhMetaFileDescriptionA(long long ptr) GetEnhMetaFileDescription32A
177 stdcall GetEnhMetaFileDescriptionW(long long ptr) GetEnhMetaFileDescription32W
178 stdcall GetEnhMetaFileHeader(long long ptr) GetEnhMetaFileHeader
179 st
ub
GetEnhMetaFilePaletteEntries
179 st
dcall GetEnhMetaFilePaletteEntries (long long ptr)
GetEnhMetaFilePaletteEntries
180 stub GetEnhMetaFileW
181 stdcall GetFontData(long long long ptr long) GetFontData32
182 stdcall GetFontLanguageInfo(long) GetFontLanguageInfo32
...
...
@@ -345,7 +345,7 @@ init MAIN_GdiInit
340 stdcall SetViewportExtEx(long long long ptr) SetViewportExtEx32
341 stdcall SetViewportOrgEx(long long long ptr) SetViewportOrgEx32
342 stub SetVirtualResolution
343 st
ub
SetWinMetaFileBits
343 st
dcall SetWinMetaFileBits(long ptr long ptr)
SetWinMetaFileBits
344 stdcall SetWindowExtEx(long long long ptr) SetWindowExtEx32
345 stdcall SetWindowOrgEx(long long long ptr) SetWindowOrgEx32
346 stdcall SetWorldTransform(long ptr) SetWorldTransform
...
...
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