The share action interface.
More...
#include <customized_share_render.h>
Inherits IShareActionBase.
The share action interface.
Definition at line 144 of file customized_share_render.h.
◆ ~IShareAction()
virtual IShareAction::~IShareAction |
( |
| ) |
|
|
inlinevirtual |
◆ GetSharingID()
virtual const unsigned int IShareAction::GetSharingID |
( |
| ) |
|
|
pure virtual |
Get the sharing ID.
- Returns
- If the function succeeds, the return value is the sharing ID. Otherwise the function fails, and the return value is ZERO(0).
◆ GetSharingUserName()
virtual const zchar_t * IShareAction::GetSharingUserName |
( |
| ) |
|
|
pure virtual |
Get the name of the sharing user.
- Returns
- If the function succeeds, the return value is the name. Otherwise the function fails, and the return value is nullptr.
◆ Reposition()
virtual SDKError IShareAction::Reposition |
( |
RECT | rc, |
|
|
HWND | hParentWnd = nullptr ) |
|
pure virtual |
Resize the share action in the specified area and reset the parent window.
- Parameters
-
rc | Specify a new display area. The coordinate value of the structure is that of the parent window of share action. |
hParentWnd | Specify a new parent window HWND. |
- Returns
- If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise the function fails. To get extended error information, see SDKError enum.
◆ SetEvent()
Set the share action callback event handler.
- Parameters
-
- Returns
- If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise the function fails. To get extended error information, see SDKError enum.
◆ Subscribe()
virtual SDKError IShareAction::Subscribe |
( |
| ) |
|
|
pure virtual |
Subscribe the sharing content.
- Returns
- If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise the function fails. To get extended error information, see SDKError enum.
◆ Unsubscribe()
virtual SDKError IShareAction::Unsubscribe |
( |
| ) |
|
|
pure virtual |
Unsubscribe the sharing content.
- Returns
- If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise the function fails. To get extended error information, see SDKError enum.