NativeMethodsCreateMemoryHdc 方法 |
Create a compatible memory HDC from the given HDC.
The memory HDC can be rendered into without effecting the original HDC.
The returned memory HDC and
dib must be released using
ReleaseMemoryHdc(IntPtr, IntPtr).
命名空间:
DSkin
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法 public static IntPtr CreateMemoryHdc(
IntPtr hdc,
int width,
int height,
out IntPtr dib
)
参数
- hdc
- 类型:SystemIntPtr
the HDC to create memory HDC from - width
- 类型:SystemInt32
the width of the memory HDC to create - height
- 类型:SystemInt32
the height of the memory HDC to create - dib
- 类型:SystemIntPtr
returns used bitmap memory section that must be released when done with memory HDC
返回值
类型:
IntPtrmemory HDC
参见