6#ifndef _ZOOM_SDK_DEF_H_
7#define _ZOOM_SDK_DEF_H_
9#define PLATFORM_IMPORT __declspec(dllimport)
10#define PLATFORM_EXPORT __declspec(dllexport)
11#ifdef ZOOM_SDK_DLL_EXPORT
12#define SDK_API PLATFORM_EXPORT
13#elif defined ZOOM_SDK_DLL_IMPORT
14#define SDK_API PLATFORM_IMPORT
19#define ZOOM_SDK_NAMESPACE ZOOMSDK
20#define BEGIN_ZOOM_SDK_NAMESPACE namespace ZOOM_SDK_NAMESPACE {
21#define END_ZOOM_SDK_NAMESPACE };
22#define USING_ZOOM_SDK_NAMESPACE using namespace ZOOM_SDK_NAMESPACE;
141#define ENABLE_CUSTOMIZED_UI_FLAG (1 << 5)
316#define SDK_NULL_AUDIO_FILE_HANDLE (0xffffffff)
virtual T GetItem(int index)=0
Error mechanism interface provided by the SDK This feature is gradually improved, so some errors may ...
virtual LastErrorType GetErrorType() const =0
Get the last error type.
virtual ~IZoomLastError()
virtual const wchar_t * GetErrorDescription() const =0
Get the description for the last error.
virtual UINT64 GetErrorCode() const =0
Get the last error code.
The custom resource information used by the SDK. Here are more detailed structural descriptions.
SDK configuration options.
const wchar_t * sdkPathPostfix
CustomizedLanguageInfo customizedLang
int optionalFeatures
The custom resource information.
const char * langInfo
The value should be the full path of the resource file when the langType value is CustomizedLanguage_...
CustomizedLanguageType langType
Use the custom resource type.
tagCustomizedLanguageInfo()
const char * langName
Resource name.
Initialize the SDK Parameter. Here are more detailed structural descriptions.
bool permonitor_awareness_mode
void * hResInstance
Resource module handle.
RawDataOptions rawdataOpts
SDK_LANGUAGE_ID emLanguageID
The ID of the SDK language.
const wchar_t * strBrandingName
Branding name.
bool enableGenerateDump
Enable generate dump file if the app crashed.
bool enableLogByDefault
Enable log feature.
ZoomSDKRenderOptions renderOpts
ConfigurableOptions obConfigOpts
The configuration options of the SDK.
unsigned int uiWindowIconSmallID
The ID of the small icon on the window.
unsigned int uiLogFileSize
Size of a log file in M(megabyte). The default size is 5M. There are 5 log files in total and the fil...
const wchar_t * strSupportUrl
Support URL.
unsigned int uiWindowIconBigID
The ID of the big Icon on the window.
const wchar_t * strWebDomain
Web domain.
ZoomSDKRawDataMemoryMode videoRawdataMemoryMode
ZoomSDKRawDataMemoryMode shareRawdataMemoryMode
ZoomSDKRawDataMemoryMode audioRawdataMemoryMode
bool enableRawdataIntermediateMode
false – YUV420data, true – intermediate data
The position of the window. The coordinate of position is that of monitor when the parent window is n...
HWND hSelfWnd
Specifies the window handle of the window itself.
HWND hParent
Specifies the window handle of the parent window. If the value is NULL, the position coordinate is th...
int top
Specifies the Y-axis coordinate of the top-left of the window.
int left
Specifies the X-axis coordinate of the top-left corner of the window.
ZoomSDKVideoCaptureMethod videoCaptureMethod
ZoomSDKVideoRenderMode videoRenderMode
ZoomSDKRenderPostProcessing renderPostProcessing
tagZoomSDKRenderOptions()
struct tagZoomSDKRenderOptions ZoomSDKRenderOptions
struct tagRawDataOptions RawDataOptions
struct tagInitParam InitParam
SDK_APP_Locale
SDK_APP locale type. Here are more detailed structural descriptions.
LastErrorType
The last error types of the SDK. Here are more detailed structural descriptions.
@ LastErrorType_Auth
Error during verification.
@ LastErrorType_Login
Error during login.
@ LastErrorType_System
The associated error with the SDK bottom layer.
@ LastErrorType_Meeting
The associated error with the meeting.
@ LastErrorType_None
No error.
@ ZoomSDKVideoRenderMode_None
@ ZoomSDKVideoRenderMode_D3D11
@ ZoomSDKVideoRenderMode_Auto
@ ZoomSDKVideoRenderMode_D3D9
@ ZoomSDKVideoRenderMode_GDI
@ ZoomSDKVideoRenderMode_D3D11EnableFLIP
struct tagWndPosition WndPosition
#define END_ZOOM_SDK_NAMESPACE
ZoomSDKVideoCaptureMethod
@ ZoomSDKVideoCaptureMethod_DirectSHow
@ ZoomSDKVideoCaptureMethod_Auto
@ ZoomSDKVideoCaptureMethod_None
@ ZoomSDKVideoCaptureMethod_MediaFoundation
@ CustomizedLanguage_None
No use of the custom resource.
@ CustomizedLanguage_Content
Use the specified content to assign the custom resource.
@ CustomizedLanguage_FilePath
Use the specified file path to assign the custom resource.
struct tagCustomizedLanguageInfo CustomizedLanguageInfo
SDK_LANGUAGE_ID
The text resource type used by the SDK. Here are more detailed structural descriptions.
@ LANGUAGE_Russian
In Russian.
@ LANGUAGE_French
In French.
@ LANGUAGE_Chinese_Traditional
In traditional Chinese.
@ LANGUAGE_Spanish
In Spanish.
@ LANGUAGE_Japanese
In Japanese.
@ LANGUAGE_Vietnamese
In Vietnamese.
@ LANGUAGE_Polish
In Polish.
@ LANGUAGE_English
In English.
@ LANGUAGE_Italian
In Italian.
@ LANGUAGE_German
In German.
@ LANGUAGE_Portuguese
In Portuguese.
@ LANGUAGE_Chinese_Simplified
In simplified Chinese.
@ LANGUAGE_Korean
In Korean.
@ LANGUAGE_Unknow
For initialization.
@ LANGUAGE_Turkish
In Turkish.
ZoomSDKRenderPostProcessing
@ ZoomSDKRenderPostProcessing_Enable
@ ZoomSDKRenderPostProcessing_Disable
@ ZoomSDKRenderPostProcessing_None
@ ZoomSDKRenderPostProcessing_Auto
#define BEGIN_ZOOM_SDK_NAMESPACE
const RECT _SDK_TEST_VIDEO_INIT_RECT
struct tagConfigurableOptions ConfigurableOptions
@ SHARE_TYPE_AIRHOST
Type of sharing data from the device connected WIFI.
@ SHARE_TYPE_DATA
Type of sharing the data.
@ SHARE_TYPE_DS
Type of sharing the desktop.
@ SHARE_TYPE_AS
Type of sharing the application.
@ SHARE_TYPE_UNKNOWN
Type unknown.
@ SHARE_TYPE_CAMERA
Type of sharing the camera.
@ SHARE_TYPE_WB
Type of sharing the white-board.
@ ZoomSDKRawDataMemoryModeStack
@ ZoomSDKRawDataMemoryModeHeap
SDKError
SDK error types. Here are more detailed structural descriptions.
@ SDKERR_UNINITIALIZE
Not initialized before the usage.
@ SDKERR_NO_AUDIODEVICE_ISFOUND
No audio device found.
@ SDKERR_INTERNAL_ERROR
SDK internal error.
@ SDKERR_VIDEO_NOTREADY
The video service is not ready.
@ SDKERR_SETTING_OS_DONT_SUPPORT
Current OS doesn't support the setting.
@ SDKERR_HARDWARE_NOT_MEET_FOR_VB
Computer doesn't meet the minimum requirements to use virtual background feature.
@ SDKERR_NO_PERMISSION
No permission.
@ SDKERR_TRANSCODER_NOFOUND
Transcoder module is not found.
@ SDKERR_UNKNOWN
Unknown error.
@ SDKERR_MEMORY_FAILED
No memory is allocated.
@ SDKERR_SHARE_CANNOT_SUBSCRIBE_MYSELF
@ SDKERR_NO_VIDEODEVICE_ISFOUND
No video device found.
@ SDKERR_EMAIL_LOGIN_IS_DISABLED
Email login is disable.
@ SDKERR_NO_SHARE_DATA
There is no raw data of sharing.
@ SDKERR_TOO_FREQUENT_CALL
API calls too frequently.
@ SDKERR_NEED_USER_CONFIRM_RECORD_DISCLAIMER
Need process disclaimer.
@ SDKERR_INVALID_PARAMETER
Wrong parameter.
@ SDKERR_NO_IMPL
This feature is currently invalid.
@ SDKERR_NORECORDINGINPROCESS
No recording in process.
@ SDKERR_UNAUTHENTICATION
Not authorized before the usage.
@ SDKERR_FAIL_ASSIGN_USER_PRIVILEGE
User can't be assigned with new privilege.
@ SDKERR_WRONG_USAGE
Incorrect usage of the feature.
@ SDKERR_MEETING_VIEWTYPE_PARAMETER_IS_WRONG
Incorrect ViewType parameters.
@ SDKERR_MODULE_LOAD_FAILED
Loading module failed.
@ SDKERR_MEETING_NOT_SHARE_SENDER
The current user is not the presenter.
@ SDKERR_OTHER_SDK_INSTANCE_RUNNING
The other instance of the SDK is in process.
@ SDKERR_MEETING_ANNOTATION_IS_OFF
Annotation is disabled.
@ SDKERR_SERVICE_FAILED
Internal service error.
@ SDKERR_MEETING_DONT_SUPPORT_FEATURE
The current meeting doesn't support the feature.
@ SDKERR_MEETING_YOU_HAVE_NO_SHARE
There is no sharing.