예제 #1
0
 public static int ICGetDefaultQuality(IntPtr hic, ref uint pQuality)
 {
     return(Avi32Interop.ICSendMessage(hic, Avi32Interop.ICM_GETDEFAULTQUALITY, ref pQuality,
                                       (UIntPtr)(sizeof(uint))));
 }
예제 #2
0
 public static int ICGetState(IntPtr hic, IntPtr pv, uint cb)
 {
     return(Avi32Interop.ICSendMessage(hic, Avi32Interop.ICM_GETSTATE, (UIntPtr)(ulong)pv, (UIntPtr)((ulong)cb)));
 }
예제 #3
0
 public static int ICConfigure(IntPtr hic, IntPtr hWnd)
 {
     return(Avi32Interop.ICSendMessage(hic, Avi32Interop.ICM_CONFIGURE, (UIntPtr)(ulong)hWnd, UIntPtr.Zero));
 }
예제 #4
0
 public static int ICAbout(IntPtr hic, IntPtr hWnd)
 {
     return(Avi32Interop.ICSendMessage(hic, Avi32Interop.ICM_ABOUT, (UIntPtr)(ulong)hWnd, UIntPtr.Zero));
 }
예제 #5
0
 public static int ICCompressQuery(IntPtr hic, ref Avi32Interop.BITMAPINFOHEADER lpbiInput, IntPtr lpbiOutput)
 {
     return(Avi32Interop.ICSendMessage(hic, Avi32Interop.ICM_COMPRESS_QUERY, ref lpbiInput,
                                       (UIntPtr)((ulong)lpbiOutput)));
 }