Share render interface.
More...
#include <customized_share_render.h>
◆ GetOwnerWnd()
virtual HWND ICustomizedShareRender::GetOwnerWnd |
( |
| ) |
|
|
pure virtual |
Get the window handle of showing sharing content.
- Returns
- If the function succeeds, the return value is the window handle. Otherwise failed, the return value is NULL.
◆ GetUserID()
virtual unsigned int ICustomizedShareRender::GetUserID |
( |
| ) |
|
|
pure virtual |
Get the ID of the user who's sending the sharing.
- Returns
- If the function succeeds, the return value is the user 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.
◆ Hide()
virtual SDKError ICustomizedShareRender::Hide |
( |
| ) |
|
|
pure virtual |
Hide the shared content received.
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ 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.
◆ SetUserID()
virtual SDKError ICustomizedShareRender::SetUserID |
( |
unsigned int |
userid | ) |
|
|
pure virtual |
View the sharing content from the specified user ID.
- Parameters
-
userid | Specify the user ID that is sending the sharing content. |
- 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.
◆ Show()
virtual SDKError ICustomizedShareRender::Show |
( |
| ) |
|
|
pure virtual |
Show the shared content received.
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
The documentation for this class was generated from the following file: