110,534
社区成员
发帖
与我相关
我的任务
分享
BOOL NET_DVR_GetDVRConfig(
LONG lUserID,
DWORD dwCommand,
LONG lChannel,
LPVOID lpOutBuffer,
DWORD dwOutBufferSize,
LPDWORD lpBytesReturned
);
[DllImport("yourdll.dll")]
public static extern bool NET_DVR_GetDVRConfig(
Int32 lUserID,
UInt32 dwCommand,
Int32 lChannel,
ref byte[] lpOutBuffer,
UInt32 dwOutBufferSize,
ref uint lpBytesReturned
);
NET_DVR_GetDVRConfig(lUserID,100,1,ref lpOutBuffer,100,ref lpBytesReturned)
[DllImport("yourdll.dll")]
public static extern bool NET_DVR_GetDVRConfig(
long lUserID,
uint dwCommand,
long lChannel,
ref byte[] lpOutBuffer,
uint dwOutBufferSize,
ref uint lpBytesReturned
);