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
5d173f90
Commit
5d173f90
authored
Mar 26, 2014
by
Michael Müller
Committed by
Alexandre Julliard
Apr 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxva2: Add implementation for stub functions.
parent
52e7c418
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
332 additions
and
36 deletions
+332
-36
dxva2.spec
dlls/dxva2/dxva2.spec
+36
-36
main.c
dlls/dxva2/main.c
+296
-0
No files found.
dlls/dxva2/dxva2.spec
View file @
5d173f90
@ st
ub CapabilitiesRequestAndCapabilitiesReply
@ st
ub DXVA2CreateDirect3DDeviceManager9
@ st
ub DXVA2CreateVideoService
@ st
ub DegaussMonitor
@ st
ub DestroyPhysicalMonitor
@ st
ub DestroyPhysicalMonitors
@ st
ub GetCapabilitiesStringLength
@ st
ub GetMonitorBrightness
@ st
ub GetMonitorCapabilities
@ st
ub GetMonitorColorTemperature
@ st
ub GetMonitorContrast
@ st
ub GetMonitorDisplayAreaPosition
@ st
ub GetMonitorDisplayAreaSize
@ st
ub GetMonitorRedGreenOrBlueDrive
@ st
ub GetMonitorRedGreenOrBlueGain
@ st
ub GetMonitorTechnologyType
@ st
ub GetNumberOfPhysicalMonitorsFromHMONITOR
@ st
ub GetNumberOfPhysicalMonitorsFromIDirect3DDevice9
@ st
ub GetPhysicalMonitorsFromHMONITOR
@ st
ub GetPhysicalMonitorsFromIDirect3DDevice9
@ st
ub GetTimingReport
@ st
ub GetVCPFeatureAndVCPFeatureReply
@ st
ub OPMGetVideoOutputsFromHMONITOR
@ st
ub OPMGetVideoOutputsFromIDirect3DDevice9Object
@ st
ub RestoreMonitorFactoryColorDefaults
@ st
ub RestoreMonitorFactoryDefaults
@ st
ub SaveCurrentMonitorSettings
@ st
ub SaveCurrentSettings
@ st
ub SetMonitorBrightness
@ st
ub SetMonitorColorTemperature
@ st
ub SetMonitorContrast
@ st
ub SetMonitorDisplayAreaPosition
@ st
ub SetMonitorDisplayAreaSize
@ st
ub SetMonitorRedGreenOrBlueDrive
@ st
ub SetMonitorRedGreenOrBlueGain
@ st
ub SetVCPFeature
@ st
dcall CapabilitiesRequestAndCapabilitiesReply(ptr ptr long)
@ st
dcall DXVA2CreateDirect3DDeviceManager9(ptr ptr)
@ st
dcall DXVA2CreateVideoService(ptr ptr ptr)
@ st
dcall DegaussMonitor(ptr)
@ st
dcall DestroyPhysicalMonitor(ptr)
@ st
dcall DestroyPhysicalMonitors(long ptr)
@ st
dcall GetCapabilitiesStringLength(ptr ptr)
@ st
dcall GetMonitorBrightness(ptr ptr ptr ptr)
@ st
dcall GetMonitorCapabilities(ptr ptr ptr)
@ st
dcall GetMonitorColorTemperature(ptr ptr)
@ st
dcall GetMonitorContrast(ptr ptr ptr ptr)
@ st
dcall GetMonitorDisplayAreaPosition(ptr long ptr ptr ptr)
@ st
dcall GetMonitorDisplayAreaSize(ptr long ptr ptr ptr)
@ st
dcall GetMonitorRedGreenOrBlueDrive(ptr long ptr ptr ptr)
@ st
dcall GetMonitorRedGreenOrBlueGain(ptr long ptr ptr ptr)
@ st
dcall GetMonitorTechnologyType(ptr ptr)
@ st
dcall GetNumberOfPhysicalMonitorsFromHMONITOR(ptr ptr)
@ st
dcall GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(ptr ptr)
@ st
dcall GetPhysicalMonitorsFromHMONITOR(ptr long ptr)
@ st
dcall GetPhysicalMonitorsFromIDirect3DDevice9(ptr long ptr)
@ st
dcall GetTimingReport(ptr ptr)
@ st
dcall GetVCPFeatureAndVCPFeatureReply(ptr long ptr ptr ptr)
@ st
dcall OPMGetVideoOutputsFromHMONITOR(ptr long ptr ptr)
@ st
dcall OPMGetVideoOutputsFromIDirect3DDevice9Object(ptr long ptr ptr)
@ st
dcall RestoreMonitorFactoryColorDefaults(ptr)
@ st
dcall RestoreMonitorFactoryDefaults(ptr)
@ st
dcall SaveCurrentMonitorSettings(ptr)
@ st
dcall SaveCurrentSettings(ptr)
@ st
dcall SetMonitorBrightness(ptr long)
@ st
dcall SetMonitorColorTemperature(ptr long)
@ st
dcall SetMonitorContrast(ptr long)
@ st
dcall SetMonitorDisplayAreaPosition(ptr long long)
@ st
dcall SetMonitorDisplayAreaSize(ptr long long)
@ st
dcall SetMonitorRedGreenOrBlueDrive(ptr long long)
@ st
dcall SetMonitorRedGreenOrBlueGain(ptr long long)
@ st
dcall SetVCPFeature(ptr long long)
@ stub UABGetCertificate
dlls/dxva2/main.c
View file @
5d173f90
...
...
@@ -19,11 +19,307 @@
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "d3d9.h"
#include "dxva2api.h"
#include "physicalmonitorenumerationapi.h"
#include "lowlevelmonitorconfigurationapi.h"
#include "highlevelmonitorconfigurationapi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dxva2
);
BOOL
WINAPI
CapabilitiesRequestAndCapabilitiesReply
(
HMONITOR
monitor
,
LPSTR
buffer
,
DWORD
length
)
{
FIXME
(
"(%p, %p, %d): stub
\n
"
,
monitor
,
buffer
,
length
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
HRESULT
WINAPI
DXVA2CreateDirect3DDeviceManager9
(
UINT
*
resetToken
,
IDirect3DDeviceManager9
**
dxvManager
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
resetToken
,
dxvManager
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
DXVA2CreateVideoService
(
IDirect3DDevice9
*
device
,
REFIID
riid
,
void
**
ppv
)
{
FIXME
(
"(%p, %s, %p): stub
\n
"
,
device
,
debugstr_guid
(
riid
),
ppv
);
return
E_NOTIMPL
;
}
BOOL
WINAPI
DegaussMonitor
(
HMONITOR
monitor
)
{
FIXME
(
"(%p): stub
\n
"
,
monitor
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
DestroyPhysicalMonitor
(
HMONITOR
monitor
)
{
FIXME
(
"(%p): stub
\n
"
,
monitor
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
DestroyPhysicalMonitors
(
DWORD
arraySize
,
LPPHYSICAL_MONITOR
array
)
{
FIXME
(
"(0x%x, %p): stub
\n
"
,
arraySize
,
array
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetCapabilitiesStringLength
(
HMONITOR
monitor
,
LPDWORD
length
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
monitor
,
length
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetMonitorBrightness
(
HMONITOR
monitor
,
LPDWORD
minimum
,
LPDWORD
current
,
LPDWORD
maximum
)
{
FIXME
(
"(%p, %p, %p, %p): stub
\n
"
,
monitor
,
minimum
,
current
,
maximum
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetMonitorCapabilities
(
HMONITOR
monitor
,
LPDWORD
capabilities
,
LPDWORD
temperatures
)
{
FIXME
(
"(%p, %p, %p): stub
\n
"
,
monitor
,
capabilities
,
temperatures
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetMonitorColorTemperature
(
HMONITOR
monitor
,
LPMC_COLOR_TEMPERATURE
temperature
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
monitor
,
temperature
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetMonitorContrast
(
HMONITOR
monitor
,
LPDWORD
minimum
,
LPDWORD
current
,
LPDWORD
maximum
)
{
FIXME
(
"(%p, %p, %p, %p): stub
\n
"
,
monitor
,
minimum
,
current
,
maximum
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetMonitorDisplayAreaPosition
(
HMONITOR
monitor
,
MC_POSITION_TYPE
type
,
LPDWORD
minimum
,
LPDWORD
current
,
LPDWORD
maximum
)
{
FIXME
(
"(%p, 0x%x, %p, %p, %p): stub
\n
"
,
monitor
,
type
,
minimum
,
current
,
maximum
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetMonitorDisplayAreaSize
(
HMONITOR
monitor
,
MC_SIZE_TYPE
type
,
LPDWORD
minimum
,
LPDWORD
current
,
LPDWORD
maximum
)
{
FIXME
(
"(%p, 0x%x, %p, %p, %p): stub
\n
"
,
monitor
,
type
,
minimum
,
current
,
maximum
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetMonitorRedGreenOrBlueDrive
(
HMONITOR
monitor
,
MC_DRIVE_TYPE
type
,
LPDWORD
minimum
,
LPDWORD
current
,
LPDWORD
maximum
)
{
FIXME
(
"(%p, 0x%x, %p, %p, %p): stub
\n
"
,
monitor
,
type
,
minimum
,
current
,
maximum
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetMonitorRedGreenOrBlueGain
(
HMONITOR
monitor
,
MC_GAIN_TYPE
type
,
LPDWORD
minimum
,
LPDWORD
current
,
LPDWORD
maximum
)
{
FIXME
(
"(%p, 0x%x, %p, %p, %p): stub
\n
"
,
monitor
,
type
,
minimum
,
current
,
maximum
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetMonitorTechnologyType
(
HMONITOR
monitor
,
LPMC_DISPLAY_TECHNOLOGY_TYPE
type
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
monitor
,
type
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetNumberOfPhysicalMonitorsFromHMONITOR
(
HMONITOR
monitor
,
LPDWORD
number
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
monitor
,
number
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
HRESULT
WINAPI
GetNumberOfPhysicalMonitorsFromIDirect3DDevice9
(
IDirect3DDevice9
*
device
,
LPDWORD
number
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
device
,
number
);
return
E_NOTIMPL
;
}
BOOL
WINAPI
GetPhysicalMonitorsFromHMONITOR
(
HMONITOR
monitor
,
DWORD
arraySize
,
LPPHYSICAL_MONITOR
array
)
{
FIXME
(
"(%p, 0x%x, %p): stub
\n
"
,
monitor
,
arraySize
,
array
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
HRESULT
WINAPI
GetPhysicalMonitorsFromIDirect3DDevice9
(
IDirect3DDevice9
*
device
,
DWORD
arraySize
,
LPPHYSICAL_MONITOR
array
)
{
FIXME
(
"(%p, 0x%x, %p): stub
\n
"
,
device
,
arraySize
,
array
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetTimingReport
(
HMONITOR
monitor
,
LPMC_TIMING_REPORT
timingReport
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
monitor
,
timingReport
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
GetVCPFeatureAndVCPFeatureReply
(
HMONITOR
monitor
,
BYTE
vcpCode
,
LPMC_VCP_CODE_TYPE
pvct
,
LPDWORD
current
,
LPDWORD
maximum
)
{
FIXME
(
"(%p, 0x%02x, %p, %p, %p): stub
\n
"
,
monitor
,
vcpCode
,
pvct
,
current
,
maximum
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
HRESULT
WINAPI
OPMGetVideoOutputsFromHMONITOR
(
HMONITOR
monitor
,
/* OPM_VIDEO_OUTPUT_SEMANTICS */
int
vos
,
ULONG
*
numVideoOutputs
,
/* IOPMVideoOutput */
void
***
videoOutputs
)
{
FIXME
(
"(%p, 0x%x, %p, %p): stub
\n
"
,
monitor
,
vos
,
numVideoOutputs
,
videoOutputs
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
OPMGetVideoOutputsFromIDirect3DDevice9Object
(
IDirect3DDevice9
*
device
,
/* OPM_VIDEO_OUTPUT_SEMANTICS */
int
vos
,
ULONG
*
numVideoOutputs
,
/* IOPMVideoOutput */
void
***
videoOutputs
)
{
FIXME
(
"(%p, 0x%x, %p, %p): stub
\n
"
,
device
,
vos
,
numVideoOutputs
,
videoOutputs
);
return
E_NOTIMPL
;
}
BOOL
WINAPI
RestoreMonitorFactoryColorDefaults
(
HMONITOR
monitor
)
{
FIXME
(
"(%p): stub
\n
"
,
monitor
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
RestoreMonitorFactoryDefaults
(
HMONITOR
monitor
)
{
FIXME
(
"(%p): stub
\n
"
,
monitor
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
SaveCurrentMonitorSettings
(
HMONITOR
monitor
)
{
FIXME
(
"(%p): stub
\n
"
,
monitor
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
SaveCurrentSettings
(
HMONITOR
monitor
)
{
FIXME
(
"(%p): stub
\n
"
,
monitor
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
SetMonitorBrightness
(
HMONITOR
monitor
,
DWORD
brightness
)
{
FIXME
(
"(%p, 0x%x): stub
\n
"
,
monitor
,
brightness
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
SetMonitorColorTemperature
(
HMONITOR
monitor
,
MC_COLOR_TEMPERATURE
temperature
)
{
FIXME
(
"(%p, 0x%x): stub
\n
"
,
monitor
,
temperature
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
SetMonitorContrast
(
HMONITOR
monitor
,
DWORD
contrast
)
{
FIXME
(
"(%p, 0x%x): stub
\n
"
,
monitor
,
contrast
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
SetMonitorDisplayAreaPosition
(
HMONITOR
monitor
,
MC_POSITION_TYPE
type
,
DWORD
position
)
{
FIXME
(
"(%p, 0x%x, 0x%x): stub
\n
"
,
monitor
,
type
,
position
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
SetMonitorDisplayAreaSize
(
HMONITOR
monitor
,
MC_SIZE_TYPE
type
,
DWORD
size
)
{
FIXME
(
"(%p, 0x%x, 0x%x): stub
\n
"
,
monitor
,
type
,
size
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
SetMonitorRedGreenOrBlueDrive
(
HMONITOR
monitor
,
MC_DRIVE_TYPE
type
,
DWORD
drive
)
{
FIXME
(
"(%p, 0x%x, 0x%x): stub
\n
"
,
monitor
,
type
,
drive
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
SetMonitorRedGreenOrBlueGain
(
HMONITOR
monitor
,
MC_GAIN_TYPE
type
,
DWORD
gain
)
{
FIXME
(
"(%p, 0x%x, 0x%x): stub
\n
"
,
monitor
,
type
,
gain
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
SetVCPFeature
(
HMONITOR
monitor
,
BYTE
vcpCode
,
DWORD
value
)
{
FIXME
(
"(%p, 0x%02x, 0x%x): stub
\n
"
,
monitor
,
vcpCode
,
value
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"%p,%x,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
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