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
b2885d14
Commit
b2885d14
authored
Mar 30, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat/tests: Link to MFHeap* functions directly.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
56ab0d1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
+2
-12
mfplat.c
dlls/mfplat/tests/mfplat.c
+2
-12
No files found.
dlls/mfplat/tests/mfplat.c
View file @
b2885d14
...
...
@@ -76,8 +76,6 @@ static HRESULT (WINAPI *pMFCopyImage)(BYTE *dest, LONG deststride, const BYTE *s
static
HRESULT
(
WINAPI
*
pMFCreateDXGIDeviceManager
)(
UINT
*
token
,
IMFDXGIDeviceManager
**
manager
);
static
HRESULT
(
WINAPI
*
pMFCreateSourceResolver
)(
IMFSourceResolver
**
resolver
);
static
HRESULT
(
WINAPI
*
pMFCreateMFByteStreamOnStream
)(
IStream
*
stream
,
IMFByteStream
**
bytestream
);
static
void
*
(
WINAPI
*
pMFHeapAlloc
)(
SIZE_T
size
,
ULONG
flags
,
char
*
file
,
int
line
,
EAllocationType
type
);
static
void
(
WINAPI
*
pMFHeapFree
)(
void
*
p
);
static
HRESULT
(
WINAPI
*
pMFPutWaitingWorkItem
)(
HANDLE
event
,
LONG
priority
,
IMFAsyncResult
*
result
,
MFWORKITEM_KEY
*
key
);
static
HRESULT
(
WINAPI
*
pMFAllocateSerialWorkQueue
)(
DWORD
queue
,
DWORD
*
serial_queue
);
static
HRESULT
(
WINAPI
*
pMFAddPeriodicCallback
)(
MFPERIODICCALLBACK
callback
,
IUnknown
*
context
,
DWORD
*
key
);
...
...
@@ -678,8 +676,6 @@ static void init_functions(void)
X
(
MFCreateTransformActivate
);
X
(
MFGetPlaneSize
);
X
(
MFGetStrideForBitmapInfoHeader
);
X
(
MFHeapAlloc
);
X
(
MFHeapFree
);
X
(
MFPutWaitingWorkItem
);
X
(
MFRegisterLocalByteStreamHandler
);
X
(
MFRegisterLocalSchemeHandler
);
...
...
@@ -2483,16 +2479,10 @@ static void test_MFHeapAlloc(void)
{
void
*
res
;
if
(
!
pMFHeapAlloc
)
{
win_skip
(
"MFHeapAlloc() is not available.
\n
"
);
return
;
}
res
=
pMFHeapAlloc
(
16
,
0
,
NULL
,
0
,
eAllocationTypeIgnore
);
res
=
MFHeapAlloc
(
16
,
0
,
NULL
,
0
,
eAllocationTypeIgnore
);
ok
(
res
!=
NULL
,
"MFHeapAlloc failed.
\n
"
);
p
MFHeapFree
(
res
);
MFHeapFree
(
res
);
}
static
void
test_scheduled_items
(
void
)
...
...
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