Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b90f54b4
Commit
b90f54b4
authored
Dec 06, 2022
by
Alex Henrie
Committed by
Alexandre Julliard
Dec 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Annotate MFHeapAlloc with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC).
parent
33ae61d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
mfapi.h
include/mfapi.h
+4
-2
No files found.
include/mfapi.h
View file @
b90f54b4
...
...
@@ -556,6 +556,10 @@ HRESULT WINAPI MFCreateVideoMediaTypeFromVideoInfoHeader(const KS_VIDEOINFOHEADE
IMFVideoMediaType
**
media_type
);
#endif
void
WINAPI
MFHeapFree
(
void
*
ptr
);
void
*
WINAPI
MFHeapAlloc
(
SIZE_T
size
,
ULONG
flags
,
char
*
file
,
int
line
,
EAllocationType
type
)
__WINE_ALLOC_SIZE
(
1
)
__WINE_DEALLOC
(
MFHeapFree
)
__WINE_MALLOC
;
HRESULT
WINAPI
MFCreateVideoSampleAllocatorEx
(
REFIID
riid
,
void
**
allocator
);
HRESULT
WINAPI
MFCreateMemoryBuffer
(
DWORD
max_length
,
IMFMediaBuffer
**
buffer
);
HRESULT
WINAPI
MFCreateWaveFormatExFromMFMediaType
(
IMFMediaType
*
type
,
WAVEFORMATEX
**
format
,
UINT32
*
size
,
UINT32
flags
);
...
...
@@ -563,8 +567,6 @@ HRESULT WINAPI MFEndCreateFile(IMFAsyncResult *result, IMFByteStream **stream);
HRESULT
WINAPI
MFEndRegisterWorkQueueWithMMCSS
(
IMFAsyncResult
*
result
,
DWORD
*
taskid
);
HRESULT
WINAPI
MFEndUnregisterWorkQueueWithMMCSS
(
IMFAsyncResult
*
result
);
HRESULT
WINAPI
MFFrameRateToAverageTimePerFrame
(
UINT32
numerator
,
UINT32
denominator
,
UINT64
*
avgtime
);
void
*
WINAPI
MFHeapAlloc
(
SIZE_T
size
,
ULONG
flags
,
char
*
file
,
int
line
,
EAllocationType
type
);
void
WINAPI
MFHeapFree
(
void
*
ptr
);
HRESULT
WINAPI
MFGetAttributesAsBlob
(
IMFAttributes
*
attributes
,
UINT8
*
buffer
,
UINT
size
);
HRESULT
WINAPI
MFGetAttributesAsBlobSize
(
IMFAttributes
*
attributes
,
UINT32
*
size
);
HRESULT
WINAPI
MFGetStrideForBitmapInfoHeader
(
DWORD
format
,
DWORD
width
,
LONG
*
stride
);
...
...
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