Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
32aee1ae
Commit
32aee1ae
authored
Oct 05, 2001
by
Stefan Leichter
Committed by
Alexandre Julliard
Oct 05, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added defines for resource types RT_MESSAGETABLE, RT_VERSION.
parent
6559d104
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
17 deletions
+20
-17
format_msg.c
dlls/kernel/format_msg.c
+1
-1
winbase.h
include/winbase.h
+19
-16
No files found.
dlls/kernel/format_msg.c
View file @
32aee1ae
...
@@ -59,7 +59,7 @@ static INT load_messageA( HMODULE instance, UINT id, WORD lang,
...
@@ -59,7 +59,7 @@ static INT load_messageA( HMODULE instance, UINT id, WORD lang,
TRACE
(
"instance = %08lx, id = %08lx, buffer = %p, length = %ld
\n
"
,
(
DWORD
)
instance
,
(
DWORD
)
id
,
buffer
,
(
DWORD
)
buflen
);
TRACE
(
"instance = %08lx, id = %08lx, buffer = %p, length = %ld
\n
"
,
(
DWORD
)
instance
,
(
DWORD
)
id
,
buffer
,
(
DWORD
)
buflen
);
/*FIXME: I am not sure about the '1' ... But I've only seen those entries*/
/*FIXME: I am not sure about the '1' ... But I've only seen those entries*/
hrsrc
=
FindResourceExW
(
instance
,
RT_MESSAGE
LIST
W
,(
LPWSTR
)
1
,
lang
);
hrsrc
=
FindResourceExW
(
instance
,
RT_MESSAGE
TABLE
W
,(
LPWSTR
)
1
,
lang
);
if
(
!
hrsrc
)
return
0
;
if
(
!
hrsrc
)
return
0
;
hmem
=
LoadResource
(
instance
,
hrsrc
);
hmem
=
LoadResource
(
instance
,
hrsrc
);
if
(
!
hmem
)
return
0
;
if
(
!
hmem
)
return
0
;
...
...
include/winbase.h
View file @
32aee1ae
...
@@ -389,46 +389,49 @@ typedef struct
...
@@ -389,46 +389,49 @@ typedef struct
#define MAKEINTRESOURCEW(i) (LPWSTR)((DWORD)((WORD)(i)))
#define MAKEINTRESOURCEW(i) (LPWSTR)((DWORD)((WORD)(i)))
#define MAKEINTRESOURCE WINELIB_NAME_AW(MAKEINTRESOURCE)
#define MAKEINTRESOURCE WINELIB_NAME_AW(MAKEINTRESOURCE)
/* Predefined resource types */
/* Predefined resource types
(FIXME: belongs to winuser.h)
*/
#define RT_CURSORA MAKEINTRESOURCEA(1)
#define RT_CURSORA MAKEINTRESOURCEA(1)
#define RT_CURSORW MAKEINTRESOURCEW(1)
#define RT_CURSORW MAKEINTRESOURCEW(1)
#define RT_CURSOR
WINELIB_NAME_AW(RT_CURSOR)
#define RT_CURSOR WINELIB_NAME_AW(RT_CURSOR)
#define RT_BITMAPA MAKEINTRESOURCEA(2)
#define RT_BITMAPA MAKEINTRESOURCEA(2)
#define RT_BITMAPW MAKEINTRESOURCEW(2)
#define RT_BITMAPW MAKEINTRESOURCEW(2)
#define RT_BITMAP
WINELIB_NAME_AW(RT_BITMAP)
#define RT_BITMAP WINELIB_NAME_AW(RT_BITMAP)
#define RT_ICONA MAKEINTRESOURCEA(3)
#define RT_ICONA MAKEINTRESOURCEA(3)
#define RT_ICONW MAKEINTRESOURCEW(3)
#define RT_ICONW MAKEINTRESOURCEW(3)
#define RT_ICON
WINELIB_NAME_AW(RT_ICON)
#define RT_ICON WINELIB_NAME_AW(RT_ICON)
#define RT_MENUA MAKEINTRESOURCEA(4)
#define RT_MENUA MAKEINTRESOURCEA(4)
#define RT_MENUW MAKEINTRESOURCEW(4)
#define RT_MENUW MAKEINTRESOURCEW(4)
#define RT_MENU
WINELIB_NAME_AW(RT_MENU)
#define RT_MENU WINELIB_NAME_AW(RT_MENU)
#define RT_DIALOGA MAKEINTRESOURCEA(5)
#define RT_DIALOGA MAKEINTRESOURCEA(5)
#define RT_DIALOGW MAKEINTRESOURCEW(5)
#define RT_DIALOGW MAKEINTRESOURCEW(5)
#define RT_DIALOG
WINELIB_NAME_AW(RT_DIALOG)
#define RT_DIALOG WINELIB_NAME_AW(RT_DIALOG)
#define RT_STRINGA MAKEINTRESOURCEA(6)
#define RT_STRINGA MAKEINTRESOURCEA(6)
#define RT_STRINGW MAKEINTRESOURCEW(6)
#define RT_STRINGW MAKEINTRESOURCEW(6)
#define RT_STRING
WINELIB_NAME_AW(RT_STRING)
#define RT_STRING WINELIB_NAME_AW(RT_STRING)
#define RT_FONTDIRA MAKEINTRESOURCEA(7)
#define RT_FONTDIRA MAKEINTRESOURCEA(7)
#define RT_FONTDIRW MAKEINTRESOURCEW(7)
#define RT_FONTDIRW MAKEINTRESOURCEW(7)
#define RT_FONTDIR
WINELIB_NAME_AW(RT_FONTDIR)
#define RT_FONTDIR WINELIB_NAME_AW(RT_FONTDIR)
#define RT_FONTA MAKEINTRESOURCEA(8)
#define RT_FONTA MAKEINTRESOURCEA(8)
#define RT_FONTW MAKEINTRESOURCEW(8)
#define RT_FONTW MAKEINTRESOURCEW(8)
#define RT_FONT
WINELIB_NAME_AW(RT_FONT)
#define RT_FONT WINELIB_NAME_AW(RT_FONT)
#define RT_ACCELERATORA MAKEINTRESOURCEA(9)
#define RT_ACCELERATORA MAKEINTRESOURCEA(9)
#define RT_ACCELERATORW MAKEINTRESOURCEW(9)
#define RT_ACCELERATORW MAKEINTRESOURCEW(9)
#define RT_ACCELERATOR
WINELIB_NAME_AW(RT_ACCELERATOR)
#define RT_ACCELERATOR WINELIB_NAME_AW(RT_ACCELERATOR)
#define RT_RCDATAA MAKEINTRESOURCEA(10)
#define RT_RCDATAA MAKEINTRESOURCEA(10)
#define RT_RCDATAW MAKEINTRESOURCEW(10)
#define RT_RCDATAW MAKEINTRESOURCEW(10)
#define RT_RCDATA
WINELIB_NAME_AW(RT_RCDATA)
#define RT_RCDATA WINELIB_NAME_AW(RT_RCDATA)
#define RT_MESSAGE
LISTA
MAKEINTRESOURCEA(11)
#define RT_MESSAGE
TABLEA
MAKEINTRESOURCEA(11)
#define RT_MESSAGE
LISTW
MAKEINTRESOURCEW(11)
#define RT_MESSAGE
TABLEW
MAKEINTRESOURCEW(11)
#define RT_MESSAGE
LIST WINELIB_NAME_AW(RT_MESSAGELIST
)
#define RT_MESSAGE
TABLE WINELIB_NAME_AW(RT_MESSAGETABLE
)
#define RT_GROUP_CURSORA MAKEINTRESOURCEA(12)
#define RT_GROUP_CURSORA MAKEINTRESOURCEA(12)
#define RT_GROUP_CURSORW MAKEINTRESOURCEW(12)
#define RT_GROUP_CURSORW MAKEINTRESOURCEW(12)
#define RT_GROUP_CURSOR
WINELIB_NAME_AW(RT_GROUP_CURSOR)
#define RT_GROUP_CURSOR WINELIB_NAME_AW(RT_GROUP_CURSOR)
#define RT_GROUP_ICONA MAKEINTRESOURCEA(14)
#define RT_GROUP_ICONA MAKEINTRESOURCEA(14)
#define RT_GROUP_ICONW MAKEINTRESOURCEW(14)
#define RT_GROUP_ICONW MAKEINTRESOURCEW(14)
#define RT_GROUP_ICON WINELIB_NAME_AW(RT_GROUP_ICON)
#define RT_GROUP_ICON WINELIB_NAME_AW(RT_GROUP_ICON)
#define RT_VERSIONA MAKEINTRESOURCEA(16)
#define RT_VERSIONW MAKEINTRESOURCEW(16)
#define RT_VERSION WINELIB_NAME_AW(RT_VERSION)
#define LMEM_FIXED 0
#define LMEM_FIXED 0
...
...
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