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
1d7469d9
Commit
1d7469d9
authored
Oct 05, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtworkq: Add remaining queue management stubs.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
120364fa
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
6 deletions
+32
-6
mfplat.spec
dlls/mfplat/mfplat.spec
+3
-3
queue.c
dlls/rtworkq/queue.c
+21
-0
rtworkq.spec
dlls/rtworkq/rtworkq.spec
+3
-3
mfapi.h
include/mfapi.h
+3
-0
rtworkq.idl
include/rtworkq.idl
+2
-0
No files found.
dlls/mfplat/mfplat.spec
View file @
1d7469d9
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
@ stub MFBeginGetHostByName
@ stub MFBeginGetHostByName
@ stub MFBeginRegisterWorkQueueWithMMCSS
@ stub MFBeginRegisterWorkQueueWithMMCSS
@ stdcall MFBeginRegisterWorkQueueWithMMCSSEx(long wstr long long ptr ptr) rtworkq.RtwqBeginRegisterWorkQueueWithMMCSS
@ stdcall MFBeginRegisterWorkQueueWithMMCSSEx(long wstr long long ptr ptr) rtworkq.RtwqBeginRegisterWorkQueueWithMMCSS
@ st
ub MF
BeginUnregisterWorkQueueWithMMCSS
@ st
dcall MFBeginUnregisterWorkQueueWithMMCSS(long ptr ptr) rtworkq.Rtwq
BeginUnregisterWorkQueueWithMMCSS
@ stub MFBlockThread
@ stub MFBlockThread
@ stub MFCalculateBitmapImageSize
@ stub MFCalculateBitmapImageSize
@ stdcall MFCalculateImageSize(ptr long long ptr)
@ stdcall MFCalculateImageSize(ptr long long ptr)
...
@@ -87,8 +87,8 @@
...
@@ -87,8 +87,8 @@
@ stub MFDeserializePresentationDescriptor
@ stub MFDeserializePresentationDescriptor
@ stdcall MFEndCreateFile(ptr ptr)
@ stdcall MFEndCreateFile(ptr ptr)
@ stub MFEndGetHostByName
@ stub MFEndGetHostByName
@ st
ub MF
EndRegisterWorkQueueWithMMCSS
@ st
dcall MFEndRegisterWorkQueueWithMMCSS(ptr ptr) rtworkq.Rtwq
EndRegisterWorkQueueWithMMCSS
@ st
ub MF
EndUnregisterWorkQueueWithMMCSS
@ st
dcall MFEndUnregisterWorkQueueWithMMCSS(ptr) rtworkq.Rtwq
EndUnregisterWorkQueueWithMMCSS
@ stub MFFrameRateToAverageTimePerFrame
@ stub MFFrameRateToAverageTimePerFrame
@ stub MFFreeAdaptersAddresses
@ stub MFFreeAdaptersAddresses
@ stub MFGetAdaptersAddresses
@ stub MFGetAdaptersAddresses
...
...
dlls/rtworkq/queue.c
View file @
1d7469d9
...
@@ -1533,6 +1533,27 @@ HRESULT WINAPI RtwqBeginRegisterWorkQueueWithMMCSS(DWORD queue, const WCHAR *cla
...
@@ -1533,6 +1533,27 @@ HRESULT WINAPI RtwqBeginRegisterWorkQueueWithMMCSS(DWORD queue, const WCHAR *cla
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
HRESULT
WINAPI
RtwqEndRegisterWorkQueueWithMMCSS
(
IRtwqAsyncResult
*
result
,
DWORD
*
taskid
)
{
FIXME
(
"%p, %p.
\n
"
,
result
,
taskid
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
RtwqBeginUnregisterWorkQueueWithMMCSS
(
DWORD
queue
,
IRtwqAsyncCallback
*
callback
,
IUnknown
*
state
)
{
FIXME
(
"%#x, %p, %p.
\n
"
,
queue
,
callback
,
state
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
RtwqEndUnregisterWorkQueueWithMMCSS
(
IRtwqAsyncResult
*
result
)
{
FIXME
(
"%p.
\n
"
,
result
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
RtwqRegisterPlatformEvents
(
IRtwqPlatformEvents
*
events
)
HRESULT
WINAPI
RtwqRegisterPlatformEvents
(
IRtwqPlatformEvents
*
events
)
{
{
FIXME
(
"%p.
\n
"
,
events
);
FIXME
(
"%p.
\n
"
,
events
);
...
...
dlls/rtworkq/rtworkq.spec
View file @
1d7469d9
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
@ stdcall RtwqAllocateSerialWorkQueue(long ptr)
@ stdcall RtwqAllocateSerialWorkQueue(long ptr)
@ stdcall RtwqAllocateWorkQueue(long ptr)
@ stdcall RtwqAllocateWorkQueue(long ptr)
@ stdcall RtwqBeginRegisterWorkQueueWithMMCSS(long wstr long long ptr ptr)
@ stdcall RtwqBeginRegisterWorkQueueWithMMCSS(long wstr long long ptr ptr)
@ st
ub RtwqBeginUnregisterWorkQueueWithMMCSS
@ st
dcall RtwqBeginUnregisterWorkQueueWithMMCSS(long ptr ptr)
@ stdcall RtwqCancelDeadline(long)
@ stdcall RtwqCancelDeadline(long)
@ stub RtwqCancelMultipleWaitingWorkItem
@ stub RtwqCancelMultipleWaitingWorkItem
@ stdcall RtwqCancelWorkItem(int64)
@ stdcall RtwqCancelWorkItem(int64)
@ stdcall RtwqCreateAsyncResult(ptr ptr ptr ptr)
@ stdcall RtwqCreateAsyncResult(ptr ptr ptr ptr)
@ st
ub RtwqEndRegisterWorkQueueWithMMCSS
@ st
dcall RtwqEndRegisterWorkQueueWithMMCSS(ptr ptr)
@ st
ub RtwqEndUnregisterWorkQueueWithMMCSS
@ st
dcall RtwqEndUnregisterWorkQueueWithMMCSS(ptr)
@ stub RtwqGetPlatform
@ stub RtwqGetPlatform
@ stdcall RtwqGetWorkQueueMMCSSClass(long ptr ptr)
@ stdcall RtwqGetWorkQueueMMCSSClass(long ptr ptr)
@ stdcall RtwqGetWorkQueueMMCSSPriority(long ptr)
@ stdcall RtwqGetWorkQueueMMCSSPriority(long ptr)
...
...
include/mfapi.h
View file @
1d7469d9
...
@@ -490,6 +490,7 @@ HRESULT WINAPI MFBeginCreateFile(MF_FILE_ACCESSMODE access_mode, MF_FILE_OPENMOD
...
@@ -490,6 +490,7 @@ HRESULT WINAPI MFBeginCreateFile(MF_FILE_ACCESSMODE access_mode, MF_FILE_OPENMOD
const
WCHAR
*
path
,
IMFAsyncCallback
*
callback
,
IUnknown
*
state
,
IUnknown
**
cancel_cookie
);
const
WCHAR
*
path
,
IMFAsyncCallback
*
callback
,
IUnknown
*
state
,
IUnknown
**
cancel_cookie
);
HRESULT
WINAPI
MFBeginRegisterWorkQueueWithMMCSSEx
(
DWORD
queue
,
const
WCHAR
*
usage_class
,
DWORD
taskid
,
LONG
priority
,
HRESULT
WINAPI
MFBeginRegisterWorkQueueWithMMCSSEx
(
DWORD
queue
,
const
WCHAR
*
usage_class
,
DWORD
taskid
,
LONG
priority
,
IMFAsyncCallback
*
callback
,
IUnknown
*
state
);
IMFAsyncCallback
*
callback
,
IUnknown
*
state
);
HRESULT
WINAPI
MFBeginUnregisterWorkQueueWithMMCSS
(
DWORD
queue
,
IMFAsyncCallback
*
callback
,
IUnknown
*
state
);
HRESULT
WINAPI
MFCalculateImageSize
(
REFGUID
subtype
,
UINT32
width
,
UINT32
height
,
UINT32
*
size
);
HRESULT
WINAPI
MFCalculateImageSize
(
REFGUID
subtype
,
UINT32
width
,
UINT32
height
,
UINT32
*
size
);
HRESULT
WINAPI
MFCancelCreateFile
(
IUnknown
*
cancel_cookie
);
HRESULT
WINAPI
MFCancelCreateFile
(
IUnknown
*
cancel_cookie
);
HRESULT
WINAPI
MFCancelWorkItem
(
MFWORKITEM_KEY
key
);
HRESULT
WINAPI
MFCancelWorkItem
(
MFWORKITEM_KEY
key
);
...
@@ -517,6 +518,8 @@ HRESULT WINAPI MFCreateVideoMediaTypeFromSubtype(const GUID *subtype, IMFVideoMe
...
@@ -517,6 +518,8 @@ HRESULT WINAPI MFCreateVideoMediaTypeFromSubtype(const GUID *subtype, IMFVideoMe
HRESULT
WINAPI
MFCreateMemoryBuffer
(
DWORD
max_length
,
IMFMediaBuffer
**
buffer
);
HRESULT
WINAPI
MFCreateMemoryBuffer
(
DWORD
max_length
,
IMFMediaBuffer
**
buffer
);
HRESULT
WINAPI
MFCreateWaveFormatExFromMFMediaType
(
IMFMediaType
*
type
,
WAVEFORMATEX
**
format
,
UINT32
*
size
,
UINT32
flags
);
HRESULT
WINAPI
MFCreateWaveFormatExFromMFMediaType
(
IMFMediaType
*
type
,
WAVEFORMATEX
**
format
,
UINT32
*
size
,
UINT32
flags
);
HRESULT
WINAPI
MFEndCreateFile
(
IMFAsyncResult
*
result
,
IMFByteStream
**
stream
);
HRESULT
WINAPI
MFEndCreateFile
(
IMFAsyncResult
*
result
,
IMFByteStream
**
stream
);
HRESULT
WINAPI
MFEndRegisterWorkQueueWithMMCSS
(
IMFAsyncResult
*
result
,
DWORD
*
taskid
);
HRESULT
WINAPI
MFEndUnregisterWorkQueueWithMMCSS
(
IMFAsyncResult
*
result
);
void
*
WINAPI
MFHeapAlloc
(
SIZE_T
size
,
ULONG
flags
,
char
*
file
,
int
line
,
EAllocationType
type
);
void
*
WINAPI
MFHeapAlloc
(
SIZE_T
size
,
ULONG
flags
,
char
*
file
,
int
line
,
EAllocationType
type
);
void
WINAPI
MFHeapFree
(
void
*
ptr
);
void
WINAPI
MFHeapFree
(
void
*
ptr
);
HRESULT
WINAPI
MFGetAttributesAsBlob
(
IMFAttributes
*
attributes
,
UINT8
*
buffer
,
UINT
size
);
HRESULT
WINAPI
MFGetAttributesAsBlob
(
IMFAttributes
*
attributes
,
UINT8
*
buffer
,
UINT
size
);
...
...
include/rtworkq.idl
View file @
1d7469d9
...
@@ -93,9 +93,11 @@ cpp_quote("HRESULT WINAPI RtwqAddPeriodicCallback(RTWQPERIODICCALLBACK callback,
...
@@ -93,9 +93,11 @@ cpp_quote("HRESULT WINAPI RtwqAddPeriodicCallback(RTWQPERIODICCALLBACK callback,
cpp_quote
(
"HRESULT WINAPI RtwqAllocateSerialWorkQueue(DWORD target_queue, DWORD *queue);"
)
cpp_quote
(
"HRESULT WINAPI RtwqAllocateSerialWorkQueue(DWORD target_queue, DWORD *queue);"
)
cpp_quote
(
"HRESULT WINAPI RtwqAllocateWorkQueue(RTWQ_WORKQUEUE_TYPE queue_type, DWORD *queue);"
)
cpp_quote
(
"HRESULT WINAPI RtwqAllocateWorkQueue(RTWQ_WORKQUEUE_TYPE queue_type, DWORD *queue);"
)
cpp_quote
(
"HRESULT WINAPI RtwqBeginRegisterWorkQueueWithMMCSS(DWORD queue, const WCHAR *class, DWORD taskid, LONG priority, IRtwqAsyncCallback *callback, IUnknown *state);"
)
cpp_quote
(
"HRESULT WINAPI RtwqBeginRegisterWorkQueueWithMMCSS(DWORD queue, const WCHAR *class, DWORD taskid, LONG priority, IRtwqAsyncCallback *callback, IUnknown *state);"
)
cpp_quote
(
"HRESULT WINAPI RtwqBeginUnregisterWorkQueueWithMMCSS(DWORD queue, IRtwqAsyncCallback *callback, IUnknown *state);"
)
cpp_quote
(
"HRESULT WINAPI RtwqCancelDeadline(HANDLE request);"
)
cpp_quote
(
"HRESULT WINAPI RtwqCancelDeadline(HANDLE request);"
)
cpp_quote
(
"HRESULT WINAPI RtwqCancelWorkItem(RTWQWORKITEM_KEY key);"
)
cpp_quote
(
"HRESULT WINAPI RtwqCancelWorkItem(RTWQWORKITEM_KEY key);"
)
cpp_quote
(
"HRESULT WINAPI RtwqCreateAsyncResult(IUnknown *object, IRtwqAsyncCallback *callback, IUnknown *state, IRtwqAsyncResult **result);"
)
cpp_quote
(
"HRESULT WINAPI RtwqCreateAsyncResult(IUnknown *object, IRtwqAsyncCallback *callback, IUnknown *state, IRtwqAsyncResult **result);"
)
cpp_quote
(
"HRESULT WINAPI RtwqEndRegisterWorkQueueWithMMCSS(IRtwqAsyncResult *result, DWORD *taskid);"
)
cpp_quote
(
"HRESULT WINAPI RtwqGetWorkQueueMMCSSClass(DWORD queue, WCHAR *class, DWORD *length);"
)
cpp_quote
(
"HRESULT WINAPI RtwqGetWorkQueueMMCSSClass(DWORD queue, WCHAR *class, DWORD *length);"
)
cpp_quote
(
"HRESULT WINAPI RtwqGetWorkQueueMMCSSPriority(DWORD queue, LONG *priority);"
)
cpp_quote
(
"HRESULT WINAPI RtwqGetWorkQueueMMCSSPriority(DWORD queue, LONG *priority);"
)
cpp_quote
(
"HRESULT WINAPI RtwqGetWorkQueueMMCSSTaskId(DWORD queue, DWORD *taskid);"
)
cpp_quote
(
"HRESULT WINAPI RtwqGetWorkQueueMMCSSTaskId(DWORD queue, DWORD *taskid);"
)
...
...
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