IPresentationManager::CreatePresentationSurface 方法 (presentation.h)
为可托管在可视化树中并分配单个前缓冲区的内容创建演示文稿图面。
语法
HRESULT CreatePresentationSurface(
HANDLE compositionSurfaceHandle,
IPresentationSurface **presentationSurface
);
parameters
compositionSurfaceHandle
类型: 句柄
要将演示文稿图面绑定到的合成图面的句柄。
presentationSurface
创建的演示文稿图面。
返回值
类型: HRESULT
如果函数成功,则返回 S_OK
;否则,它将返回一个 HRESULT
指示错误的值。
要求
最低受支持的客户端 | Windows 内部版本 22000 |
最低受支持的服务器 | Windows 内部版本 22000 |
标头 | presentation.h |
Library | dcomp.lib |
DLL | dcomp.dll |