Share render interface.
More...
#include <customized_share_render.h>
Inherits IShareActionBase.
Share render interface.
Definition at line 71 of file customized_share_render.h.
◆ ~ICustomizedShareRender()
virtual ICustomizedShareRender::~ICustomizedShareRender |
( |
| ) |
|
|
inlinevirtual |
◆ GetShareSourceID()
virtual unsigned int ICustomizedShareRender::GetShareSourceID |
( |
| ) |
|
|
pure virtual |
Get the share source ID of the user who's sending the sharing.
- Returns
- If the function succeeds, the return value is the share source ID. Otherwise failed, the return value is ZERO(0).
◆ HandleWindowsMoveMsg()
virtual SDKError ICustomizedShareRender::HandleWindowsMoveMsg |
( |
| ) |
|
|
pure virtual |
Redraw the window of showing the sharing.
- Returns
- If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed. To get extended error information, see SDKError enum. Call the function when the parent window gets WM_MOVE windows message.
◆ Resize()
virtual SDKError ICustomizedShareRender::Resize |
( |
RECT | rc | ) |
|
|
pure virtual |
Reset the dialog size to view the sharing content.
- Parameters
-
rc | Specify the size of the window. The coordinate of the upper left corner of the window corresponds to the client area of the parent window. |
- Returns
- If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetEvent()
Set the share render callback event handler.
- Parameters
-
- Returns
- If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetShareSourceID()
virtual SDKError ICustomizedShareRender::SetShareSourceID |
( |
unsigned int | nShareSourceID | ) |
|
|
pure virtual |
View the sharing content from the specified share source ID.
- Parameters
-
nShareSourceID | Specify the share source ID. |
- Returns
- If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetViewMode()
Set the view mode of watching the sharing.
- Parameters
-
- Returns
- If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed. To get extended error information, see SDKError enum.