soui 5.0.0.1
 
Loading...
Searching...
No Matches
IHostPresenter Struct Reference
Inheritance diagram for IHostPresenter:
IObjRef TObjRefImpl< IHostPresenter > SHostPresenter

Public Member Functions

long AddRef () PURE
 添加引用
 
long Release () PURE
 释放引用
 
void OnFinalRelease () PURE
 释放对象
 
void OnHostCreate () PURE
 宿主创建时调用
 
void OnHostDestroy () PURE
 宿主销毁时调用
 
void OnHostResize (SIZE szHost) PURE
 宿主大小调整时调用
 
void OnHostPresent (HDC hdc, IRenderTarget *pMemRT, LPCRECT rcDirty, BYTE byAlpha) PURE
 宿主呈现时调用
 
- Public Member Functions inherited from IObjRef
long AddRef () PURE
 Increases the reference count.
 
long Release () PURE
 Decreases the reference count.
 
void OnFinalRelease () PURE
 Called when the reference count reaches zero and the object is about to be released.
 

Detailed Description

Definition at line 9 of file SHostPresenter-i.h.

Member Function Documentation

◆ AddRef()

long IHostPresenter::AddRef ( )

添加引用

Returns
long - 当前引用计数

◆ OnFinalRelease()

void IHostPresenter::OnFinalRelease ( )

释放对象

Returns
void

◆ OnHostCreate()

void IHostPresenter::OnHostCreate ( )

宿主创建时调用

Returns
void

◆ OnHostDestroy()

void IHostPresenter::OnHostDestroy ( )

宿主销毁时调用

Returns
void

◆ OnHostPresent()

void IHostPresenter::OnHostPresent ( HDC hdc,
IRenderTarget * pMemRT,
LPCRECT rcDirty,
BYTE byAlpha )

宿主呈现时调用

Parameters
hdc- 设备上下文句柄
pMemRT- 内存渲染目标
rcDirty- 脏矩形区域
byAlpha- 透明度
Returns
void

◆ OnHostResize()

void IHostPresenter::OnHostResize ( SIZE szHost)

宿主大小调整时调用

Parameters
szHost- 宿主的新大小
Returns
void

◆ Release()

long IHostPresenter::Release ( )

释放引用

Returns
long - 当前引用计数

The documentation for this struct was generated from the following file: