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
66960ba4
Commit
66960ba4
authored
Jan 06, 2008
by
Peter Oberndorfer
Committed by
Alexandre Julliard
Jan 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwmapi: Add stub implementation for DwmSetWindowAttribute and DwmUnregisterThumbnail.
parent
005b4936
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
2 deletions
+31
-2
dwmapi.spec
dlls/dwmapi/dwmapi.spec
+2
-2
dwmapi_main.c
dlls/dwmapi/dwmapi_main.c
+20
-0
dwmapi.h
include/dwmapi.h
+4
-0
win32.api
tools/winapi/win32.api
+5
-0
No files found.
dlls/dwmapi/dwmapi.spec
View file @
66960ba4
...
@@ -39,6 +39,6 @@
...
@@ -39,6 +39,6 @@
@ stub DwmRegisterThumbnail
@ stub DwmRegisterThumbnail
@ stub DwmSetDxFrameDuration
@ stub DwmSetDxFrameDuration
@ stub DwmSetPresentParameters
@ stub DwmSetPresentParameters
@ st
ub DwmSetWindowAttribute
@ st
dcall DwmSetWindowAttribute(long long ptr long)
@ st
ub DwmUnregisterThumbnail
@ st
dcall DwmUnregisterThumbnail(long)
@ stub DwmUpdateThumbnailProperties
@ stub DwmUpdateThumbnailProperties
dlls/dwmapi/dwmapi_main.c
View file @
66960ba4
...
@@ -69,3 +69,23 @@ HRESULT WINAPI DwmEnableComposition(UINT uCompositionAction)
...
@@ -69,3 +69,23 @@ HRESULT WINAPI DwmEnableComposition(UINT uCompositionAction)
return
S_OK
;
return
S_OK
;
}
}
/**********************************************************************
* DwmSetWindowAttribute (DWMAPI.@)
*/
HRESULT
WINAPI
DwmSetWindowAttribute
(
HWND
hwnd
,
DWORD
attributenum
,
LPCVOID
attribute
,
DWORD
size
)
{
FIXME
(
"(%p, %x, %p, %x) stub
\n
"
,
hwnd
,
attributenum
,
attribute
,
size
);
return
E_NOTIMPL
;
}
/**********************************************************************
* DwmUnregisterThumbnail (DWMAPI.@)
*/
HRESULT
WINAPI
DwmUnregisterThumbnail
(
HTHUMBNAIL
thumbnail
)
{
FIXME
(
"(%p) stub
\n
"
,
thumbnail
);
return
E_NOTIMPL
;
}
include/dwmapi.h
View file @
66960ba4
...
@@ -29,8 +29,12 @@ extern "C" {
...
@@ -29,8 +29,12 @@ extern "C" {
# define DWMAPI_(type) STDAPI_(type)
# define DWMAPI_(type) STDAPI_(type)
#endif
#endif
DECLARE_HANDLE
(
HTHUMBNAIL
);
DWMAPI
DwmEnableComposition
(
UINT
);
DWMAPI
DwmEnableComposition
(
UINT
);
DWMAPI
DwmIsCompositionEnabled
(
BOOL
*
);
DWMAPI
DwmIsCompositionEnabled
(
BOOL
*
);
DWMAPI
DwmSetWindowAttribute
(
HWND
,
DWORD
,
LPCVOID
,
DWORD
);
DWMAPI
DwmUnregisterThumbnail
(
HTHUMBNAIL
);
#ifdef __cplusplus
#ifdef __cplusplus
}
}
...
...
tools/winapi/win32.api
View file @
66960ba4
...
@@ -1371,11 +1371,16 @@ REFIID
...
@@ -1371,11 +1371,16 @@ REFIID
%long
%long
DWORD
HRESULT
HRESULT
HTHUMBNAIL
HWND
UINT
%ptr
%ptr
BOOL *
BOOL *
LPCVOID
%%dxdiagn.dll
%%dxdiagn.dll
...
...
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