GrabBag/SDK/VzNLSDK/Inc/VZNL_DustCover.h

30 lines
748 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef __VIZUM_DUST_COVER_HEADER__
#define __VIZUM_DUST_COVER_HEADER__
#include "VZNL_Export.h"
#include "VZNL_Types.h"
/**
* @brief 是否支持遮住镜头的功能
* @param hDevice 当前设备句柄
* @param pnErrorCode 错误信息如果不需要可填NULL
* @return VzTrue 表示支持 VzFalse 表示不支持
*/
VZNLAPI VzBool VzNL_IsSupportCoverCamera(VZNLHANDLE hDevice, int* pnErrorCode);
/**
* @brief 遮住/打开镜头
* @param hDevice [in] 设备Handle
* * @param bCover [in] 是否遮住镜头
* @return 正确返回0 失败返回其他值
*/
VZNLAPI int VzNL_CoverCamera(VZNLHANDLE hDevice, VzBool bCover);
/**
* @brief
* 是否遮住了摄像头
* VzTrue 表示遮住了镜头 VzFalse 表示未遮住镜头
*/
VZNLAPI VzBool VzNL_IsCoverCamera(VZNLHANDLE hDevice, int* pnErrorCode);
#endif