想做一个视频监控的软件,百度出下面的代码,求详解!
[DllImport("avicap32.dll")]
public static extern int capCreateCaptureWindowA( string lpszWindowName, int dwStyle, int x, int y, int nWidth, short nHeight, int hWndParent, int nID);
[DllImport("avicap32.dll)]
public static extern bool capGetDriverDescriptionA(short wDriver, [MarshalAs(UnmanagedType.VBByRefStr)] ref string lpszName, int cbName, [MarshalAs(UnmanagedType.VBByRefStr)] ref string lpszVer, int cbVer);
[DllImport("user32")]
public static extern bool DestroyWindow(int hndw);
[DllImport("user32")]
public static extern int SendMessage(int hwnd, int wMsg, int wParam, [MarshalAs(UnmanagedType.AsAny)] object lParam);
[DllImport("user32")]
public static extern int SetWindowPos(int hwnd, int hWndInsertAfter, int x, int y, int cx, int cy, int wFlags); 怎么获取dll文件内的函数,函数的返回值,及函数内的一些参数?
跪求详解.....
[DllImport("avicap32.dll")]
public static extern int capCreateCaptureWindowA( string lpszWindowName, int dwStyle, int x, int y, int nWidth, short nHeight, int hWndParent, int nID);
[DllImport("avicap32.dll)]
public static extern bool capGetDriverDescriptionA(short wDriver, [MarshalAs(UnmanagedType.VBByRefStr)] ref string lpszName, int cbName, [MarshalAs(UnmanagedType.VBByRefStr)] ref string lpszVer, int cbVer);
[DllImport("user32")]
public static extern bool DestroyWindow(int hndw);
[DllImport("user32")]
public static extern int SendMessage(int hwnd, int wMsg, int wParam, [MarshalAs(UnmanagedType.AsAny)] object lParam);
[DllImport("user32")]
public static extern int SetWindowPos(int hwnd, int hWndInsertAfter, int x, int y, int cx, int cy, int wFlags); 怎么获取dll文件内的函数,函数的返回值,及函数内的一些参数?
跪求详解.....
http://www.datastead.com/products/tvideograbber/download.htmlhttp://ufo-crackerx.blog.163.com/blog/static/1130787782011102295540255/
查看参数,没办法,除非你反汇编!你的这个dll,难道别人没给你说明文档吗?