Windows SDK API Reference
Loading...
Searching...
No Matches
zoom_sdk_def.h File Reference

ZOOM windows SDK Common Definition File. More...

#include <tchar.h>

Go to the source code of this file.

Data Structures

struct  tagWndPosition
 The position of the window. The coordinate of position is that of monitor when the parent window is null. If the the parent window is not null, the position coordinate is that of the parent window. Here are more detailed structural descriptions. More...
 
struct  tagCustomizedLanguageInfo
 
struct  tagConfigurableOptions
 SDK configuration options. More...
 
struct  tagZoomSDKRenderOptions
 
struct  tagRawDataOptions
 
struct  tagInitParam
 Initialize the SDK Parameter. Here are more detailed structural descriptions. More...
 
class  IZoomLastError
 Error mechanism interface provided by the SDK This feature is gradually improved, so some errors may not be supported. More...
 
class  IList< T >
 

Macros

#define PLATFORM_IMPORT   __declspec(dllimport)
 
#define PLATFORM_EXPORT   __declspec(dllexport)
 
#define SDK_API
 
#define ZOOM_SDK_NAMESPACE   ZOOMSDK
 
#define BEGIN_ZOOM_SDK_NAMESPACE   namespace ZOOM_SDK_NAMESPACE {
 
#define END_ZOOM_SDK_NAMESPACE   };
 
#define USING_ZOOM_SDK_NAMESPACE   using namespace ZOOM_SDK_NAMESPACE;
 
#define ENABLE_CUSTOMIZED_UI_FLAG   (1 << 5)
 
#define SDK_NULL_AUDIO_FILE_HANDLE   (0xffffffff)
 

Typedefs

typedef struct tagWndPosition WndPosition
 
typedef struct tagCustomizedLanguageInfo CustomizedLanguageInfo
 
typedef struct tagConfigurableOptions ConfigurableOptions
 
typedef struct tagZoomSDKRenderOptions ZoomSDKRenderOptions
 
typedef struct tagRawDataOptions RawDataOptions
 
typedef struct tagInitParam InitParam
 

Enumerations

enum  SDKError {
  SDKERR_SUCCESS = 0 , SDKERR_NO_IMPL , SDKERR_WRONG_USAGE , SDKERR_INVALID_PARAMETER ,
  SDKERR_MODULE_LOAD_FAILED , SDKERR_MEMORY_FAILED , SDKERR_SERVICE_FAILED , SDKERR_UNINITIALIZE ,
  SDKERR_UNAUTHENTICATION , SDKERR_NORECORDINGINPROCESS , SDKERR_TRANSCODER_NOFOUND , SDKERR_VIDEO_NOTREADY ,
  SDKERR_NO_PERMISSION , SDKERR_UNKNOWN , SDKERR_OTHER_SDK_INSTANCE_RUNNING , SDKERR_INTERNAL_ERROR ,
  SDKERR_NO_AUDIODEVICE_ISFOUND , SDKERR_NO_VIDEODEVICE_ISFOUND , SDKERR_TOO_FREQUENT_CALL , SDKERR_FAIL_ASSIGN_USER_PRIVILEGE ,
  SDKERR_MEETING_DONT_SUPPORT_FEATURE , SDKERR_MEETING_NOT_SHARE_SENDER , SDKERR_MEETING_YOU_HAVE_NO_SHARE , SDKERR_MEETING_VIEWTYPE_PARAMETER_IS_WRONG ,
  SDKERR_MEETING_ANNOTATION_IS_OFF , SDKERR_SETTING_OS_DONT_SUPPORT , SDKERR_EMAIL_LOGIN_IS_DISABLED , SDKERR_HARDWARE_NOT_MEET_FOR_VB ,
  SDKERR_NEED_USER_CONFIRM_RECORD_DISCLAIMER , SDKERR_NO_SHARE_DATA , SDKERR_SHARE_CANNOT_SUBSCRIBE_MYSELF , SDKERR_NOT_IN_MEETING
}
 SDK error types. Here are more detailed structural descriptions. More...
 
enum  SDK_LANGUAGE_ID {
  LANGUAGE_Unknow = 0 , LANGUAGE_English , LANGUAGE_Chinese_Simplified , LANGUAGE_Chinese_Traditional ,
  LANGUAGE_Japanese , LANGUAGE_Spanish , LANGUAGE_German , LANGUAGE_French ,
  LANGUAGE_Portuguese , LANGUAGE_Russian , LANGUAGE_Korean , LANGUAGE_Vietnamese ,
  LANGUAGE_Italian , LANGUAGE_Polish , LANGUAGE_Turkish
}
 The text resource type used by the SDK. Here are more detailed structural descriptions. More...
 
enum  CustomizedLanguageType { CustomizedLanguage_None , CustomizedLanguage_FilePath , CustomizedLanguage_Content }
 Custom resource type used by the SDK. Here are more detailed structural descriptions. More...
 
enum  SDK_APP_Locale { SDK_APP_Locale_Default , SDK_APP_Locale_CN }
 SDK_APP locale type. Here are more detailed structural descriptions. More...
 
enum  ZoomSDKRawDataMemoryMode { ZoomSDKRawDataMemoryModeStack , ZoomSDKRawDataMemoryModeHeap }
 
enum  ZoomSDKVideoRenderMode {
  ZoomSDKVideoRenderMode_None = 0 , ZoomSDKVideoRenderMode_Auto , ZoomSDKVideoRenderMode_D3D11EnableFLIP , ZoomSDKVideoRenderMode_D3D11 ,
  ZoomSDKVideoRenderMode_D3D9 , ZoomSDKVideoRenderMode_GDI
}
 
enum  ZoomSDKRenderPostProcessing { ZoomSDKRenderPostProcessing_None = 0 , ZoomSDKRenderPostProcessing_Auto , ZoomSDKRenderPostProcessing_Enable , ZoomSDKRenderPostProcessing_Disable }
 
enum  ZoomSDKVideoCaptureMethod { ZoomSDKVideoCaptureMethod_None = 0 , ZoomSDKVideoCaptureMethod_Auto , ZoomSDKVideoCaptureMethod_DirectSHow , ZoomSDKVideoCaptureMethod_MediaFoundation }
 
enum  ShareType {
  SHARE_TYPE_UNKNOWN , SHARE_TYPE_AS , SHARE_TYPE_DS , SHARE_TYPE_WB ,
  SHARE_TYPE_AIRHOST , SHARE_TYPE_CAMERA , SHARE_TYPE_DATA
}
 
enum  LastErrorType {
  LastErrorType_None , LastErrorType_Auth , LastErrorType_Login , LastErrorType_Meeting ,
  LastErrorType_System
}
 The last error types of the SDK. Here are more detailed structural descriptions. More...
 

Variables

const RECT _SDK_TEST_VIDEO_INIT_RECT = {0,0,0,0}
 

Detailed Description

ZOOM windows SDK Common Definition File.

SDK utility Definition of ZOOM windows.

Definition in file zoom_sdk_def.h.

Macro Definition Documentation

◆ BEGIN_ZOOM_SDK_NAMESPACE

#define BEGIN_ZOOM_SDK_NAMESPACE   namespace ZOOM_SDK_NAMESPACE {

Definition at line 20 of file zoom_sdk_def.h.

◆ ENABLE_CUSTOMIZED_UI_FLAG

#define ENABLE_CUSTOMIZED_UI_FLAG   (1 << 5)

Definition at line 141 of file zoom_sdk_def.h.

◆ END_ZOOM_SDK_NAMESPACE

#define END_ZOOM_SDK_NAMESPACE   };

Definition at line 21 of file zoom_sdk_def.h.

◆ PLATFORM_EXPORT

#define PLATFORM_EXPORT   __declspec(dllexport)

Definition at line 10 of file zoom_sdk_def.h.

◆ PLATFORM_IMPORT

#define PLATFORM_IMPORT   __declspec(dllimport)

Definition at line 9 of file zoom_sdk_def.h.

◆ SDK_API

#define SDK_API

Definition at line 16 of file zoom_sdk_def.h.

◆ SDK_NULL_AUDIO_FILE_HANDLE

#define SDK_NULL_AUDIO_FILE_HANDLE   (0xffffffff)

Definition at line 316 of file zoom_sdk_def.h.

◆ USING_ZOOM_SDK_NAMESPACE

#define USING_ZOOM_SDK_NAMESPACE   using namespace ZOOM_SDK_NAMESPACE;

Definition at line 22 of file zoom_sdk_def.h.

◆ ZOOM_SDK_NAMESPACE

#define ZOOM_SDK_NAMESPACE   ZOOMSDK

Definition at line 19 of file zoom_sdk_def.h.

Typedef Documentation

◆ ConfigurableOptions

◆ CustomizedLanguageInfo

◆ InitParam

typedef struct tagInitParam InitParam

◆ RawDataOptions

◆ WndPosition

typedef struct tagWndPosition WndPosition

◆ ZoomSDKRenderOptions

Enumeration Type Documentation

◆ CustomizedLanguageType

Custom resource type used by the SDK. Here are more detailed structural descriptions.

Enumerator
CustomizedLanguage_None 

No use of the custom resource.

CustomizedLanguage_FilePath 

Use the specified file path to assign the custom resource.

CustomizedLanguage_Content 

Use the specified content to assign the custom resource.

Definition at line 111 of file zoom_sdk_def.h.

112{
116};
@ CustomizedLanguage_None
No use of the custom resource.
Definition: zoom_sdk_def.h:113
@ CustomizedLanguage_Content
Use the specified content to assign the custom resource.
Definition: zoom_sdk_def.h:115
@ CustomizedLanguage_FilePath
Use the specified file path to assign the custom resource.
Definition: zoom_sdk_def.h:114

◆ LastErrorType

The last error types of the SDK. Here are more detailed structural descriptions.

Enumerator
LastErrorType_None 

No error.

LastErrorType_Auth 

Error during verification.

LastErrorType_Login 

Error during login.

LastErrorType_Meeting 

The associated error with the meeting.

LastErrorType_System 

The associated error with the SDK bottom layer.

Definition at line 282 of file zoom_sdk_def.h.

283{
289};
@ LastErrorType_Auth
Error during verification.
Definition: zoom_sdk_def.h:285
@ LastErrorType_Login
Error during login.
Definition: zoom_sdk_def.h:286
@ LastErrorType_System
The associated error with the SDK bottom layer.
Definition: zoom_sdk_def.h:288
@ LastErrorType_Meeting
The associated error with the meeting.
Definition: zoom_sdk_def.h:287
@ LastErrorType_None
No error.
Definition: zoom_sdk_def.h:284

◆ SDK_APP_Locale

SDK_APP locale type. Here are more detailed structural descriptions.

Enumerator
SDK_APP_Locale_Default 
SDK_APP_Locale_CN 

Definition at line 159 of file zoom_sdk_def.h.

160{
163};
@ SDK_APP_Locale_Default
Definition: zoom_sdk_def.h:161
@ SDK_APP_Locale_CN
Definition: zoom_sdk_def.h:162

◆ SDK_LANGUAGE_ID

The text resource type used by the SDK. Here are more detailed structural descriptions.

Enumerator
LANGUAGE_Unknow 

For initialization.

LANGUAGE_English 

In English.

LANGUAGE_Chinese_Simplified 

In simplified Chinese.

LANGUAGE_Chinese_Traditional 

In traditional Chinese.

LANGUAGE_Japanese 

In Japanese.

LANGUAGE_Spanish 

In Spanish.

LANGUAGE_German 

In German.

LANGUAGE_French 

In French.

LANGUAGE_Portuguese 

In Portuguese.

LANGUAGE_Russian 

In Russian.

LANGUAGE_Korean 

In Korean.

LANGUAGE_Vietnamese 

In Vietnamese.

LANGUAGE_Italian 

In Italian.

LANGUAGE_Polish 

In Polish.

LANGUAGE_Turkish 

In Turkish.

Definition at line 69 of file zoom_sdk_def.h.

70{
86};
@ LANGUAGE_Russian
In Russian.
Definition: zoom_sdk_def.h:80
@ LANGUAGE_French
In French.
Definition: zoom_sdk_def.h:78
@ LANGUAGE_Chinese_Traditional
In traditional Chinese.
Definition: zoom_sdk_def.h:74
@ LANGUAGE_Spanish
In Spanish.
Definition: zoom_sdk_def.h:76
@ LANGUAGE_Japanese
In Japanese.
Definition: zoom_sdk_def.h:75
@ LANGUAGE_Vietnamese
In Vietnamese.
Definition: zoom_sdk_def.h:82
@ LANGUAGE_Polish
In Polish.
Definition: zoom_sdk_def.h:84
@ LANGUAGE_English
In English.
Definition: zoom_sdk_def.h:72
@ LANGUAGE_Italian
In Italian.
Definition: zoom_sdk_def.h:83
@ LANGUAGE_German
In German.
Definition: zoom_sdk_def.h:77
@ LANGUAGE_Portuguese
In Portuguese.
Definition: zoom_sdk_def.h:79
@ LANGUAGE_Chinese_Simplified
In simplified Chinese.
Definition: zoom_sdk_def.h:73
@ LANGUAGE_Korean
In Korean.
Definition: zoom_sdk_def.h:81
@ LANGUAGE_Unknow
For initialization.
Definition: zoom_sdk_def.h:71
@ LANGUAGE_Turkish
In Turkish.
Definition: zoom_sdk_def.h:85

◆ SDKError

enum SDKError

SDK error types. Here are more detailed structural descriptions.

Enumerator
SDKERR_SUCCESS 

Success.

SDKERR_NO_IMPL 

This feature is currently invalid.

SDKERR_WRONG_USAGE 

Incorrect usage of the feature.

SDKERR_INVALID_PARAMETER 

Wrong parameter.

SDKERR_MODULE_LOAD_FAILED 

Loading module failed.

SDKERR_MEMORY_FAILED 

No memory is allocated.

SDKERR_SERVICE_FAILED 

Internal service error.

SDKERR_UNINITIALIZE 

Not initialized before the usage.

SDKERR_UNAUTHENTICATION 

Not authorized before the usage.

SDKERR_NORECORDINGINPROCESS 

No recording in process.

SDKERR_TRANSCODER_NOFOUND 

Transcoder module is not found.

SDKERR_VIDEO_NOTREADY 

The video service is not ready.

SDKERR_NO_PERMISSION 

No permission.

SDKERR_UNKNOWN 

Unknown error.

SDKERR_OTHER_SDK_INSTANCE_RUNNING 

The other instance of the SDK is in process.

SDKERR_INTERNAL_ERROR 

SDK internal error.

SDKERR_NO_AUDIODEVICE_ISFOUND 

No audio device found.

SDKERR_NO_VIDEODEVICE_ISFOUND 

No video device found.

SDKERR_TOO_FREQUENT_CALL 

API calls too frequently.

SDKERR_FAIL_ASSIGN_USER_PRIVILEGE 

User can't be assigned with new privilege.

SDKERR_MEETING_DONT_SUPPORT_FEATURE 

The current meeting doesn't support the feature.

SDKERR_MEETING_NOT_SHARE_SENDER 

The current user is not the presenter.

SDKERR_MEETING_YOU_HAVE_NO_SHARE 

There is no sharing.

SDKERR_MEETING_VIEWTYPE_PARAMETER_IS_WRONG 

Incorrect ViewType parameters.

SDKERR_MEETING_ANNOTATION_IS_OFF 

Annotation is disabled.

SDKERR_SETTING_OS_DONT_SUPPORT 

Current OS doesn't support the setting.

SDKERR_EMAIL_LOGIN_IS_DISABLED 

Email login is disable.

SDKERR_HARDWARE_NOT_MEET_FOR_VB 

Computer doesn't meet the minimum requirements to use virtual background feature.

SDKERR_NEED_USER_CONFIRM_RECORD_DISCLAIMER 

Need process disclaimer.

SDKERR_NO_SHARE_DATA 

There is no raw data of sharing.

SDKERR_SHARE_CANNOT_SUBSCRIBE_MYSELF 
SDKERR_NOT_IN_MEETING 

Definition at line 29 of file zoom_sdk_def.h.

30{
63};
@ SDKERR_UNINITIALIZE
Not initialized before the usage.
Definition: zoom_sdk_def.h:38
@ SDKERR_NO_AUDIODEVICE_ISFOUND
No audio device found.
Definition: zoom_sdk_def.h:47
@ SDKERR_NOT_IN_MEETING
Definition: zoom_sdk_def.h:62
@ SDKERR_SUCCESS
Success.
Definition: zoom_sdk_def.h:31
@ SDKERR_INTERNAL_ERROR
SDK internal error.
Definition: zoom_sdk_def.h:46
@ SDKERR_VIDEO_NOTREADY
The video service is not ready.
Definition: zoom_sdk_def.h:42
@ SDKERR_SETTING_OS_DONT_SUPPORT
Current OS doesn't support the setting.
Definition: zoom_sdk_def.h:56
@ SDKERR_HARDWARE_NOT_MEET_FOR_VB
Computer doesn't meet the minimum requirements to use virtual background feature.
Definition: zoom_sdk_def.h:58
@ SDKERR_NO_PERMISSION
No permission.
Definition: zoom_sdk_def.h:43
@ SDKERR_TRANSCODER_NOFOUND
Transcoder module is not found.
Definition: zoom_sdk_def.h:41
@ SDKERR_UNKNOWN
Unknown error.
Definition: zoom_sdk_def.h:44
@ SDKERR_MEMORY_FAILED
No memory is allocated.
Definition: zoom_sdk_def.h:36
@ SDKERR_SHARE_CANNOT_SUBSCRIBE_MYSELF
Definition: zoom_sdk_def.h:61
@ SDKERR_NO_VIDEODEVICE_ISFOUND
No video device found.
Definition: zoom_sdk_def.h:48
@ SDKERR_EMAIL_LOGIN_IS_DISABLED
Email login is disable.
Definition: zoom_sdk_def.h:57
@ SDKERR_NO_SHARE_DATA
There is no raw data of sharing.
Definition: zoom_sdk_def.h:60
@ SDKERR_TOO_FREQUENT_CALL
API calls too frequently.
Definition: zoom_sdk_def.h:49
@ SDKERR_NEED_USER_CONFIRM_RECORD_DISCLAIMER
Need process disclaimer.
Definition: zoom_sdk_def.h:59
@ SDKERR_INVALID_PARAMETER
Wrong parameter.
Definition: zoom_sdk_def.h:34
@ SDKERR_NO_IMPL
This feature is currently invalid.
Definition: zoom_sdk_def.h:32
@ SDKERR_NORECORDINGINPROCESS
No recording in process.
Definition: zoom_sdk_def.h:40
@ SDKERR_UNAUTHENTICATION
Not authorized before the usage.
Definition: zoom_sdk_def.h:39
@ SDKERR_FAIL_ASSIGN_USER_PRIVILEGE
User can't be assigned with new privilege.
Definition: zoom_sdk_def.h:50
@ SDKERR_WRONG_USAGE
Incorrect usage of the feature.
Definition: zoom_sdk_def.h:33
@ SDKERR_MEETING_VIEWTYPE_PARAMETER_IS_WRONG
Incorrect ViewType parameters.
Definition: zoom_sdk_def.h:54
@ SDKERR_MODULE_LOAD_FAILED
Loading module failed.
Definition: zoom_sdk_def.h:35
@ SDKERR_MEETING_NOT_SHARE_SENDER
The current user is not the presenter.
Definition: zoom_sdk_def.h:52
@ SDKERR_OTHER_SDK_INSTANCE_RUNNING
The other instance of the SDK is in process.
Definition: zoom_sdk_def.h:45
@ SDKERR_MEETING_ANNOTATION_IS_OFF
Annotation is disabled.
Definition: zoom_sdk_def.h:55
@ SDKERR_SERVICE_FAILED
Internal service error.
Definition: zoom_sdk_def.h:37
@ SDKERR_MEETING_DONT_SUPPORT_FEATURE
The current meeting doesn't support the feature.
Definition: zoom_sdk_def.h:51
@ SDKERR_MEETING_YOU_HAVE_NO_SHARE
There is no sharing.
Definition: zoom_sdk_def.h:53

◆ ShareType

enum ShareType

Type of current sharing received by the user. Here are more detailed structural descriptions..

Enumerator
SHARE_TYPE_UNKNOWN 

Type unknown.

SHARE_TYPE_AS 

Type of sharing the application.

SHARE_TYPE_DS 

Type of sharing the desktop.

SHARE_TYPE_WB 

Type of sharing the white-board.

SHARE_TYPE_AIRHOST 

Type of sharing data from the device connected WIFI.

SHARE_TYPE_CAMERA 

Type of sharing the camera.

SHARE_TYPE_DATA 

Type of sharing the data.

Definition at line 267 of file zoom_sdk_def.h.

268{
276};
@ SHARE_TYPE_AIRHOST
Type of sharing data from the device connected WIFI.
Definition: zoom_sdk_def.h:273
@ SHARE_TYPE_DATA
Type of sharing the data.
Definition: zoom_sdk_def.h:275
@ SHARE_TYPE_DS
Type of sharing the desktop.
Definition: zoom_sdk_def.h:271
@ SHARE_TYPE_AS
Type of sharing the application.
Definition: zoom_sdk_def.h:270
@ SHARE_TYPE_UNKNOWN
Type unknown.
Definition: zoom_sdk_def.h:269
@ SHARE_TYPE_CAMERA
Type of sharing the camera.
Definition: zoom_sdk_def.h:274
@ SHARE_TYPE_WB
Type of sharing the white-board.
Definition: zoom_sdk_def.h:272

◆ ZoomSDKRawDataMemoryMode

Enumerator
ZoomSDKRawDataMemoryModeStack 
ZoomSDKRawDataMemoryModeHeap 

Definition at line 165 of file zoom_sdk_def.h.

166{
169};
@ ZoomSDKRawDataMemoryModeStack
Definition: zoom_sdk_def.h:167
@ ZoomSDKRawDataMemoryModeHeap
Definition: zoom_sdk_def.h:168

◆ ZoomSDKRenderPostProcessing

Enumerator
ZoomSDKRenderPostProcessing_None 
ZoomSDKRenderPostProcessing_Auto 
ZoomSDKRenderPostProcessing_Enable 
ZoomSDKRenderPostProcessing_Disable 

Definition at line 181 of file zoom_sdk_def.h.

182{
187};
@ ZoomSDKRenderPostProcessing_Enable
Definition: zoom_sdk_def.h:185
@ ZoomSDKRenderPostProcessing_Disable
Definition: zoom_sdk_def.h:186
@ ZoomSDKRenderPostProcessing_None
Definition: zoom_sdk_def.h:183
@ ZoomSDKRenderPostProcessing_Auto
Definition: zoom_sdk_def.h:184

◆ ZoomSDKVideoCaptureMethod

Enumerator
ZoomSDKVideoCaptureMethod_None 
ZoomSDKVideoCaptureMethod_Auto 
ZoomSDKVideoCaptureMethod_DirectSHow 
ZoomSDKVideoCaptureMethod_MediaFoundation 

Definition at line 189 of file zoom_sdk_def.h.

190{
195};
@ ZoomSDKVideoCaptureMethod_DirectSHow
Definition: zoom_sdk_def.h:193
@ ZoomSDKVideoCaptureMethod_Auto
Definition: zoom_sdk_def.h:192
@ ZoomSDKVideoCaptureMethod_None
Definition: zoom_sdk_def.h:191
@ ZoomSDKVideoCaptureMethod_MediaFoundation
Definition: zoom_sdk_def.h:194

◆ ZoomSDKVideoRenderMode

Enumerator
ZoomSDKVideoRenderMode_None 
ZoomSDKVideoRenderMode_Auto 
ZoomSDKVideoRenderMode_D3D11EnableFLIP 
ZoomSDKVideoRenderMode_D3D11 
ZoomSDKVideoRenderMode_D3D9 
ZoomSDKVideoRenderMode_GDI 

Definition at line 171 of file zoom_sdk_def.h.

172{
179};
@ ZoomSDKVideoRenderMode_None
Definition: zoom_sdk_def.h:173
@ ZoomSDKVideoRenderMode_D3D11
Definition: zoom_sdk_def.h:176
@ ZoomSDKVideoRenderMode_Auto
Definition: zoom_sdk_def.h:174
@ ZoomSDKVideoRenderMode_D3D9
Definition: zoom_sdk_def.h:177
@ ZoomSDKVideoRenderMode_GDI
Definition: zoom_sdk_def.h:178
@ ZoomSDKVideoRenderMode_D3D11EnableFLIP
Definition: zoom_sdk_def.h:175

Variable Documentation

◆ _SDK_TEST_VIDEO_INIT_RECT

const RECT _SDK_TEST_VIDEO_INIT_RECT = {0,0,0,0}

Definition at line 317 of file zoom_sdk_def.h.