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
a717598b
Commit
a717598b
authored
Jan 28, 2016
by
Austin English
Committed by
Alexandre Julliard
Mar 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwmapi: Add DwmSetPresentParameters stub.
Signed-off-by:
Austin English
<
austinenglish@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
157a647c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
1 deletion
+28
-1
dwmapi.spec
dlls/dwmapi/dwmapi.spec
+1
-1
dwmapi_main.c
dlls/dwmapi/dwmapi_main.c
+9
-0
dwmapi.h
include/dwmapi.h
+18
-0
No files found.
dlls/dwmapi/dwmapi.spec
View file @
a717598b
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
@ stub DwmQueryThumbnailSourceSize
@ stub DwmQueryThumbnailSourceSize
@ stdcall DwmRegisterThumbnail(long long ptr)
@ stdcall DwmRegisterThumbnail(long long ptr)
@ stub DwmSetDxFrameDuration
@ stub DwmSetDxFrameDuration
@ st
ub DwmSetPresentParameters
@ st
dcall DwmSetPresentParameters(ptr ptr)
@ stdcall DwmSetWindowAttribute(long long ptr long)
@ stdcall DwmSetWindowAttribute(long long ptr long)
@ stdcall DwmUnregisterThumbnail(long)
@ stdcall DwmUnregisterThumbnail(long)
@ stdcall DwmUpdateThumbnailProperties(ptr ptr)
@ stdcall DwmUpdateThumbnailProperties(ptr ptr)
dlls/dwmapi/dwmapi_main.c
View file @
a717598b
...
@@ -259,3 +259,12 @@ HRESULT WINAPI DwmUpdateThumbnailProperties(HTHUMBNAIL thumbnail, const DWM_THUM
...
@@ -259,3 +259,12 @@ HRESULT WINAPI DwmUpdateThumbnailProperties(HTHUMBNAIL thumbnail, const DWM_THUM
FIXME
(
"(%p, %p) stub
\n
"
,
thumbnail
,
props
);
FIXME
(
"(%p, %p) stub
\n
"
,
thumbnail
,
props
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
/**********************************************************************
* DwmSetPresentParameters (DWMAPI.@)
*/
HRESULT
WINAPI
DwmSetPresentParameters
(
HWND
hwnd
,
DWM_PRESENT_PARAMETERS
*
params
)
{
FIXME
(
"(%p %p) stub
\n
"
,
hwnd
,
params
);
return
S_OK
;
};
include/dwmapi.h
View file @
a717598b
...
@@ -37,6 +37,12 @@ typedef HTHUMBNAIL *PHTHUMBNAIL;
...
@@ -37,6 +37,12 @@ typedef HTHUMBNAIL *PHTHUMBNAIL;
typedef
ULONGLONG
DWM_FRAME_COUNT
;
typedef
ULONGLONG
DWM_FRAME_COUNT
;
typedef
ULONGLONG
QPC_TIME
;
typedef
ULONGLONG
QPC_TIME
;
typedef
enum
_DWM_SOURCE_FRAME_SAMPLING
{
DWM_SOURCE_FRAME_SAMPLING_POINT
,
DWM_SOURCE_FRAME_SAMPLING_COVERAGE
,
DWM_SOURCE_FRAME_SAMPLING_LAST
}
DWM_SOURCE_FRAME_SAMPLING
;
typedef
struct
_UNSIGNED_RATIO
{
typedef
struct
_UNSIGNED_RATIO
{
UINT32
uiNumerator
;
UINT32
uiNumerator
;
UINT32
uiDenominator
;
UINT32
uiDenominator
;
...
@@ -117,6 +123,17 @@ typedef struct _DWM_THUMBNAIL_PROPERTIES
...
@@ -117,6 +123,17 @@ typedef struct _DWM_THUMBNAIL_PROPERTIES
BOOL
fSourceClientAreaOnly
;
BOOL
fSourceClientAreaOnly
;
}
DWM_THUMBNAIL_PROPERTIES
,
*
PDWM_THUMBNAIL_PROPERTIES
;
}
DWM_THUMBNAIL_PROPERTIES
,
*
PDWM_THUMBNAIL_PROPERTIES
;
typedef
struct
_DWM_PRESENT_PARAMETERS
{
UINT32
cbSize
;
BOOL
fQueue
;
DWM_FRAME_COUNT
cRefreshStart
;
UINT
cBuffer
;
BOOL
fUseSourceRate
;
UNSIGNED_RATIO
rateSource
;
UINT
cRefreshesPerFrame
;
DWM_SOURCE_FRAME_SAMPLING
eSampling
;
}
DWM_PRESENT_PARAMETERS
;
#include <poppack.h>
#include <poppack.h>
DWMAPI
DwmDefWindowProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
LRESULT
*
);
DWMAPI
DwmDefWindowProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
LRESULT
*
);
...
@@ -129,6 +146,7 @@ DWMAPI DwmGetCompositionTimingInfo(HWND,DWM_TIMING_INFO*);
...
@@ -129,6 +146,7 @@ DWMAPI DwmGetCompositionTimingInfo(HWND,DWM_TIMING_INFO*);
DWMAPI
DwmInvalidateIconicBitmaps
(
HWND
);
DWMAPI
DwmInvalidateIconicBitmaps
(
HWND
);
DWMAPI
DwmIsCompositionEnabled
(
BOOL
*
);
DWMAPI
DwmIsCompositionEnabled
(
BOOL
*
);
DWMAPI
DwmRegisterThumbnail
(
HWND
,
HWND
,
PHTHUMBNAIL
);
DWMAPI
DwmRegisterThumbnail
(
HWND
,
HWND
,
PHTHUMBNAIL
);
DWMAPI
DwmSetPresentParameters
(
HWND
,
DWM_PRESENT_PARAMETERS
*
);
DWMAPI
DwmSetWindowAttribute
(
HWND
,
DWORD
,
LPCVOID
,
DWORD
);
DWMAPI
DwmSetWindowAttribute
(
HWND
,
DWORD
,
LPCVOID
,
DWORD
);
DWMAPI
DwmUnregisterThumbnail
(
HTHUMBNAIL
);
DWMAPI
DwmUnregisterThumbnail
(
HTHUMBNAIL
);
DWMAPI
DwmUpdateThumbnailProperties
(
HTHUMBNAIL
,
const
DWM_THUMBNAIL_PROPERTIES
*
);
DWMAPI
DwmUpdateThumbnailProperties
(
HTHUMBNAIL
,
const
DWM_THUMBNAIL_PROPERTIES
*
);
...
...
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