Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
33910f17
Commit
33910f17
authored
25 years ago
by
Eric Kohl
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
- minor update to mru list functions
- stubs for COMCTL32_411 to COMCTL32_413
parent
81e314b1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/comctl32/comctl32.spec
+3
-3
3 additions, 3 deletions
dlls/comctl32/comctl32.spec
dlls/comctl32/comctl32undoc.c
+79
-26
79 additions, 26 deletions
dlls/comctl32/comctl32undoc.c
with
82 additions
and
29 deletions
dlls/comctl32/comctl32.spec
+
3
−
3
View file @
33910f17
...
...
@@ -182,9 +182,9 @@ init COMCTL32_LibMain
404 stub CreateMRUListLazyW@16
410 stdcall COMCTL32_410(long long long long) comctl32_410
411 st
ub
COMCTL32_411
412 st
ub
COMCTL32_412
413 st
ub
COMCTL32_413
411 st
dcall
COMCTL32_411
(long long long) comctl32_411
412 st
dcall
COMCTL32_412
(long long long) comctl32_412
413 st
dcall
COMCTL32_413
(long long long long) comctl32_413
# this is actually ordinal 70 in COMCTL32 v5.0
414 stdcall InitMUILanguage(long) InitMUILanguage
...
...
This diff is collapsed.
Click to expand it.
dlls/comctl32/comctl32undoc.c
+
79
−
26
View file @
33910f17
...
...
@@ -410,15 +410,15 @@ COMCTL32_GetSize (LPVOID lpMem)
*
*/
typedef
struct
tag
MRUINFO
typedef
struct
tag
CREATEMRULIST
{
DWORD
dwParam1
;
DWORD
dwParam2
;
DWORD
dw
Param3
;
HKEY
h
k
ey
Main
;
DWORD
cbSize
;
DWORD
nMaxItems
;
DWORD
dw
Flags
;
HKEY
h
K
ey
;
LPCSTR
lpszSubKey
;
DWORD
dwParam6
;
}
MRUINFO
,
*
LPMRUINFO
;
DWORD
lpfnCompare
;
}
CREATEMRULIST
,
*
LPCREATEMRULIST
;
typedef
struct
tagMRU
...
...
@@ -431,8 +431,8 @@ typedef struct tagMRU
DWORD
dwParam6
;
}
MRU
,
*
HMRU
;
LPVOID
WINAPI
CreateMRUListLazyA
(
LP
MRUINFO
lpmi
,
DWORD
dwParam2
,
HANDLE
WINAPI
CreateMRUListLazyA
(
LP
CREATEMRULIST
lpcml
,
DWORD
dwParam2
,
DWORD
dwParam3
,
DWORD
dwParam4
);
...
...
@@ -445,17 +445,17 @@ CreateMRUListLazyA (LPMRUINFO lpmi, DWORD dwParam2,
* RETURNS
*/
LPVOID
WINAPI
CreateMRUListA
(
LP
MRUINFO
lpmi
)
HANDLE
WINAPI
CreateMRUListA
(
LP
CREATEMRULIST
lpcml
)
{
return
CreateMRUListLazyA
(
lp
mi
,
0
,
0
,
0
);
return
CreateMRUListLazyA
(
lp
cml
,
0
,
0
,
0
);
}
DWORD
WINAPI
FreeMRUListA
(
H
MRU
hmru
)
FreeMRUListA
(
H
ANDLE
hMRUList
)
{
FIXME
(
"(%p) empty stub!
\n
"
,
h
mru
);
FIXME
(
"(%p) empty stub!
\n
"
,
h
MRUList
);
#if 0
if (!(hmru->dwParam1 & 1001)) {
...
...
@@ -469,7 +469,7 @@ FreeMRUListA (HMRU hmru)
COMCTL32_Free32 (hmru->lpszMRUString);
#endif
return
COMCTL32_Free
(
hmru
);
return
COMCTL32_Free
(
(
LPVOID
)
hMRUList
);
}
...
...
@@ -496,8 +496,8 @@ FindMRUData (DWORD dwParam1, DWORD dwParam2, DWORD dwParam3, DWORD dwParam4)
}
LPVOID
WINAPI
CreateMRUListLazyA
(
LP
MRUINFO
lpmi
,
DWORD
dwParam2
,
DWORD
dwParam3
,
DWORD
dwParam4
)
HANDLE
WINAPI
CreateMRUListLazyA
(
LP
CREATEMRULIST
lpcml
,
DWORD
dwParam2
,
DWORD
dwParam3
,
DWORD
dwParam4
)
{
/* DWORD dwLocal1; *
* HKEY hkeyResult; *
...
...
@@ -511,20 +511,24 @@ CreateMRUListLazyA (LPMRUINFO lpmi, DWORD dwParam2, DWORD dwParam3, DWORD dwPara
/* internal variables */
LPVOID
ptr
;
FIXME
(
"(%p) empty stub!
\n
"
,
lp
mi
);
FIXME
(
"(%p) empty stub!
\n
"
,
lp
cml
);
if
(
lpmi
)
{
FIXME
(
"(%lx %lx %lx %lx
\"
%s
\"
%lx)
\n
"
,
lpmi
->
dwParam1
,
lpmi
->
dwParam2
,
lpmi
->
dwParam3
,
(
DWORD
)
lpmi
->
hkeyMain
,
lpmi
->
lpszSubKey
,
lpmi
->
dwParam6
);
}
if
(
lpcml
==
NULL
)
return
NULL
;
if
(
lpcml
->
cbSize
<
sizeof
(
CREATEMRULIST
))
return
NULL
;
FIXME
(
"(%lu %lu %lx %lx
\"
%s
\"
%lx)
\n
"
,
lpcml
->
cbSize
,
lpcml
->
nMaxItems
,
lpcml
->
dwFlags
,
(
DWORD
)
lpcml
->
hKey
,
lpcml
->
lpszSubKey
,
lpcml
->
lpfnCompare
);
/* dummy pointer creation */
ptr
=
COMCTL32_Alloc
(
32
);
FIXME
(
"-- ret = %p
\n
"
,
ptr
);
return
ptr
;
return
(
HANDLE
)
ptr
;
}
...
...
@@ -2086,6 +2090,55 @@ BOOL WINAPI comctl32_410( HWND hw, DWORD b, DWORD c, DWORD d) {
return
TRUE
;
}
/**************************************************************************
* comctl32_411 [COMCTL32.411]
*
* FIXME: What's this supposed to do?
* Parameter 1 is an HWND, you're on your own for the rest.
*/
BOOL
WINAPI
comctl32_411
(
HWND
hw
,
DWORD
b
,
DWORD
c
)
{
FIXME_
(
commctrl
)(
"(%x, %lx, %lx): stub!
\n
"
,
hw
,
b
,
c
);
return
TRUE
;
}
/**************************************************************************
* comctl32_412 [COMCTL32.412]
*
* FIXME: What's this supposed to do?
* Parameter 1 is an HWND, you're on your own for the rest.
*/
BOOL
WINAPI
comctl32_412
(
HWND
hwnd
,
DWORD
b
,
DWORD
c
)
{
FIXME_
(
commctrl
)(
"(%x, %lx, %lx): stub!
\n
"
,
hwnd
,
b
,
c
);
if
(
IsWindow
(
hwnd
)
==
FALSE
)
return
FALSE
;
if
(
b
==
0
)
return
FALSE
;
return
TRUE
;
}
/**************************************************************************
* comctl32_413 [COMCTL32.413]
*
* FIXME: What's this supposed to do?
* Parameter 1 is an HWND, you're on your own for the rest.
*/
BOOL
WINAPI
comctl32_413
(
HWND
hw
,
DWORD
b
,
DWORD
c
,
DWORD
d
)
{
FIXME_
(
commctrl
)(
"(%x, %lx, %lx, %lx): stub!
\n
"
,
hw
,
b
,
c
,
d
);
return
TRUE
;
}
/*************************************************************************
* InitMUILanguage [COMCTL32.70]
*
...
...
@@ -2093,9 +2146,9 @@ BOOL WINAPI comctl32_410( HWND hw, DWORD b, DWORD c, DWORD d) {
*
*/
BOOL
WINAPI
InitMUILanguage
(
DWORD
a
)
{
BOOL
WINAPI
InitMUILanguage
(
LANGID
uiLang
)
{
FIXME_
(
commctrl
)(
"(%lx): stub!
\n
"
,
a
);
FIXME_
(
commctrl
)(
"(%lx): stub!
\n
"
,
uiLang
);
return
TRUE
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment