Live Player Windows
1.1.1
网易视频云Windwos端播放器SDK
include
nelp_define.h
浏览该文件的文档.
1
/*
2
* Author biwei
3
* Date 2016/10/19
4
* Copyright Hangzhou, Netease Inc.
5
* Brief
6
* Notice
7
*/
8
9
#ifndef _NELP_DEFINE_H_
10
#define _NELP_DEFINE_H_
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
#if defined(_WIN32) || defined(__cdecl)
17
#define EXTAPI __cdecl
18
#else
19
#define EXTAPI
20
#endif
21
22
#ifdef NELIVEPLAYER_EXPORTS
23
#define EXPORTS_API _declspec(dllexport)
24
#else
25
#define EXPORTS_API _declspec(dllimport)
26
#endif
27
30
#define NELP_MASK_HANDLE_TYPE(_name) struct stru_##_name##__ {int iUnused; } *
31
#define NELP_MASK_TYPE(_name, _type) struct stru_##_name##_type {int iUnused; } *
32
33
/***NELP 函数返回值***/
34
typedef
NELP_MASK_TYPE
(_RET,
int
) NELP_RET;
35
#define NELP_OK (NELP_RET)0
36
#define NELP_ERR (NELP_RET)1
37
/***NELP 出参标识***/
38
#define NELP_OUT
39
#define NELP_IN_OUT
40
41
#ifdef __cplusplus
42
}
43
#endif
44
45
#endif//_NE_LIVEPLAYER_H_
NELP_MASK_TYPE
#define NELP_MASK_TYPE(_name, _type)
Definition:
nelp_define.h:31
制作者
1.8.14