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
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
Zsolt Vadász
wine
Commits
2e1d2b30
Commit
2e1d2b30
authored
18 years ago
by
Michael McCormack
Committed by
Alexandre Julliard
18 years ago
Browse files
Options
Downloads
Patches
Plain Diff
user32: Stub implementations for Win64's Get/Set LongPtr functions.
parent
abd8becd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/user/class.c
+54
-0
54 additions, 0 deletions
dlls/user/class.c
dlls/user/user32.spec
+8
-0
8 additions, 0 deletions
dlls/user/user32.spec
dlls/user/win.c
+54
-0
54 additions, 0 deletions
dlls/user/win.c
with
116 additions
and
0 deletions
dlls/user/class.c
+
54
−
0
View file @
2e1d2b30
...
...
@@ -1120,3 +1120,57 @@ BOOL16 WINAPI ClassNext16( CLASSENTRY *pClassEntry )
return TRUE;
}
#endif
/* 64bit versions */
#ifdef GetClassLongPtrA
#undef GetClassLongPtrA
#endif
#ifdef GetClassLongPtrW
#undef GetClassLongPtrW
#endif
#ifdef SetClassLongPtrA
#undef SetClassLongPtrA
#endif
#ifdef SetClassLongPtrW
#undef SetClassLongPtrW
#endif
/***********************************************************************
* GetClassLongPtrA (USER32.@)
*/
ULONG_PTR
WINAPI
GetClassLongPtrA
(
HWND
hwnd
,
INT
offset
)
{
FIXME
(
"
\n
"
);
return
0
;
}
/***********************************************************************
* GetClassLongPtrW (USER32.@)
*/
ULONG_PTR
WINAPI
GetClassLongPtrW
(
HWND
hwnd
,
INT
offset
)
{
FIXME
(
"
\n
"
);
return
0
;
}
/***********************************************************************
* SetClassLongPtrW (USER32.@)
*/
ULONG_PTR
WINAPI
SetClassLongPtrW
(
HWND
hwnd
,
INT
offset
,
LONG_PTR
newval
)
{
FIXME
(
"
\n
"
);
return
0
;
}
/***********************************************************************
* SetClassLongPtrA (USER32.@)
*/
ULONG_PTR
WINAPI
SetClassLongPtrA
(
HWND
hwnd
,
INT
offset
,
LONG_PTR
newval
)
{
FIXME
(
"
\n
"
);
return
0
;
}
This diff is collapsed.
Click to expand it.
dlls/user/user32.spec
+
8
−
0
View file @
2e1d2b30
...
...
@@ -256,6 +256,8 @@
@ stdcall GetClassInfoW(long wstr ptr)
@ stdcall GetClassLongA(long long)
@ stdcall GetClassLongW(long long)
@ stdcall GetClassLongPtrA(long long)
@ stdcall GetClassLongPtrW(long long)
@ stdcall GetClassNameA(long ptr long)
@ stdcall GetClassNameW(long ptr long)
@ stdcall GetClassWord(long long)
...
...
@@ -373,6 +375,8 @@
@ stdcall GetWindowDC(long)
@ stdcall GetWindowInfo(long ptr)
@ stdcall GetWindowLongA(long long)
@ stdcall GetWindowLongPtrA(long long)
@ stdcall GetWindowLongPtrW(long long)
@ stdcall GetWindowLongW(long long)
# @ stub GetWindowModuleFileName
@ stdcall GetWindowModuleFileNameA(long ptr long)
...
...
@@ -599,6 +603,8 @@
@ stdcall SetCaretBlinkTime(long)
@ stdcall SetCaretPos(long long)
@ stdcall SetClassLongA(long long long)
@ stdcall SetClassLongPtrA(long long long)
@ stdcall SetClassLongPtrW(long long long)
@ stdcall SetClassLongW(long long long)
@ stdcall SetClassWord(long long long)
@ stdcall SetClipboardData(long long)
...
...
@@ -659,6 +665,8 @@
@ stdcall SetWindowContextHelpId(long long)
@ stub SetWindowFullScreenState
@ stdcall SetWindowLongA(long long long)
@ stdcall SetWindowLongPtrA(long long long)
@ stdcall SetWindowLongPtrW(long long long)
@ stdcall SetWindowLongW(long long long)
@ stdcall SetWindowPlacement(long ptr)
@ stdcall SetWindowPos(long long long long long long long)
...
...
This diff is collapsed.
Click to expand it.
dlls/user/win.c
+
54
−
0
View file @
2e1d2b30
...
...
@@ -3177,3 +3177,57 @@ BOOL WINAPI UpdateLayeredWindow( HWND hwnd, HDC hdcDst, POINT *pptDst, SIZE *psi
hwnd
,
hdcDst
,
pptDst
,
psize
,
hdcSrc
,
pptSrc
,
crKey
,
pblend
,
dwFlags
);
return
0
;
}
/* 64bit versions */
#ifdef GetWindowLongPtrW
#undef GetWindowLongPtrW
#endif
#ifdef GetWindowLongPtrA
#undef GetWindowLongPtrA
#endif
#ifdef SetWindowLongPtrW
#undef SetWindowLongPtrW
#endif
#ifdef SetWindowLongPtrA
#undef SetWindowLongPtrA
#endif
/*****************************************************************************
* GetWindowLongPtrW (USER32.@)
*/
LONG_PTR
WINAPI
GetWindowLongPtrW
(
HWND
hwnd
,
INT
offset
)
{
FIXME
(
"
\n
"
);
return
0
;
}
/*****************************************************************************
* GetWindowLongPtrA (USER32.@)
*/
LONG_PTR
WINAPI
GetWindowLongPtrA
(
HWND
hwnd
,
INT
offset
)
{
FIXME
(
"
\n
"
);
return
0
;
}
/*****************************************************************************
* SetWindowLongPtrW (USER32.@)
*/
LONG_PTR
WINAPI
SetWindowLongPtrW
(
HWND
hwnd
,
INT
offset
,
LONG_PTR
newval
)
{
FIXME
(
"
\n
"
);
return
0
;
}
/*****************************************************************************
* SetWindowLongPtrA (USER32.@)
*/
LONG_PTR
WINAPI
SetWindowLongPtrA
(
HWND
hwnd
,
INT
offset
,
LONG_PTR
newval
)
{
FIXME
(
"
\n
"
);
return
0
;
}
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