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
33910f17
Commit
33910f17
authored
Nov 23, 1999
by
Eric Kohl
Committed by
Alexandre Julliard
Nov 23, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- minor update to mru list functions
- stubs for COMCTL32_411 to COMCTL32_413
parent
81e314b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
29 deletions
+82
-29
comctl32.spec
dlls/comctl32/comctl32.spec
+3
-3
comctl32undoc.c
dlls/comctl32/comctl32undoc.c
+79
-26
No files found.
dlls/comctl32/comctl32.spec
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 COMCTL
32_411
412 st
ub COMCTL
32_412
413 st
ub COMCTL
32_413
411 st
dcall COMCTL32_411(long long long) comctl
32_411
412 st
dcall COMCTL32_412(long long long) comctl
32_412
413 st
dcall COMCTL32_413(long long long long) comctl
32_413
# this is actually ordinal 70 in COMCTL32 v5.0
414 stdcall InitMUILanguage(long) InitMUILanguage
...
...
dlls/comctl32/comctl32undoc.c
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
keyMain
;
DWORD
cbSize
;
DWORD
nMaxItems
;
DWORD
dw
Flags
;
HKEY
h
Key
;
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
;
}
...
...
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