-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgdiplusmem.py
More file actions
38 lines (29 loc) · 869 Bytes
/
Copy pathgdiplusmem.py
File metadata and controls
38 lines (29 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"""
*************************************************************************\
*
* Copyright (c) 1998-2001, Microsoft Corp. All Rights Reserved.
*
* Module Name:
*
* GdiplusMem.h
*
* Abstract:
*
*
\*************************************************************************
"""
from . import cpreproc
from .minwindef import *
from .defbase import *
if cpreproc.pragma_once("_GDIPLUSMEM_H"):
gdiplus = W_WinDLL("gdiplus.dll")
# REGION *** Desktop Family ***
#----------------------------------------------------------------------------
# Memory Allocation APIs
#----------------------------------------------------------------------------
@gdiplus.foreign(PVOID, SIZE_T)
def GdipAlloc(size: int) -> PVOID: ...
@gdiplus.foreign(VOID, PVOID)
def GdipFree(ptr: PVOID): ...
# REGION ***
# !_GDIPLUSMEM_H