2个回答
展开全部
using System.Runtime.InteropServices;
[DllImport("HCNetSDK.dll")]
public static extern bool NET_DVR_ClientSetVideoEffect(int lRealHandle, uint dwBrightValue, uint dwContrastValue, uint dwSaturationValue, uint dwHueValue);
[DllImport("HCNetSDK.dll")]
public static extern bool NET_DVR_ClientGetVideoEffect(int lRealHandle, uint pBrightValue, uint pContrastValue, uint pSaturationValue, uint pHueValue);
[DllImport("HCNetSDK.dll")]
public static extern bool NET_DVR_RigisterDrawFun(int lRealHandle, DrawFun x, uint dwUser);
[DllImport("HCNetSDK.dll")]
public static extern bool NET_DVR_SetPlayerBufNumber(int lRealHandle, uint dwBufNum);
[DllImport("HCNetSDK.dll")]
public static extern bool NET_DVR_ThrowBFrame(int lRealHandle, uint dwNum);
[DllImport("HCNetSDK.dll")]
public static extern bool NET_DVR_ClientSetVideoEffect(int lRealHandle, uint dwBrightValue, uint dwContrastValue, uint dwSaturationValue, uint dwHueValue);
[DllImport("HCNetSDK.dll")]
public static extern bool NET_DVR_ClientGetVideoEffect(int lRealHandle, uint pBrightValue, uint pContrastValue, uint pSaturationValue, uint pHueValue);
[DllImport("HCNetSDK.dll")]
public static extern bool NET_DVR_RigisterDrawFun(int lRealHandle, DrawFun x, uint dwUser);
[DllImport("HCNetSDK.dll")]
public static extern bool NET_DVR_SetPlayerBufNumber(int lRealHandle, uint dwBufNum);
[DllImport("HCNetSDK.dll")]
public static extern bool NET_DVR_ThrowBFrame(int lRealHandle, uint dwNum);
参考资料: www.anfangjishu.com
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
调用非托管DLl函数using systtem.runtime.xxx;
翻译如下:
[DllImport("xxx.dll")]
public static extern int Sms_Connect (string pServer,int lCorpID,string pLoginName,string pPasswd,int lTimeOut,int HWND);
[DllImport("xxx.dll")]
public static extern void Sms_DisConnect();
[DllImport("xxx.dll")]
public static extern int Sms_Send(string pMobile,string pMsg,ref int lSmsID);
[DllImport("xxx.dll")]
public static extern int Sms_Get(string pNo,string pMsg,string pTime);
http://bbs.bccn.net/forum-117-1.html
翻译如下:
[DllImport("xxx.dll")]
public static extern int Sms_Connect (string pServer,int lCorpID,string pLoginName,string pPasswd,int lTimeOut,int HWND);
[DllImport("xxx.dll")]
public static extern void Sms_DisConnect();
[DllImport("xxx.dll")]
public static extern int Sms_Send(string pMobile,string pMsg,ref int lSmsID);
[DllImport("xxx.dll")]
public static extern int Sms_Get(string pNo,string pMsg,string pTime);
http://bbs.bccn.net/forum-117-1.html
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询