vfw/Win32.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace Tiger.Video.VFW
{
using System;
using System.Runtime.InteropServices;
/// <summary>
/// Windows API functions and structures
/// </summary>
internal class Win32
{
// --- AVI Functions
// Initialize the AVIFile library
[DllImport("avifil32.dll")]
public static extern void AVIFileInit();
// Exit the AVIFile library
[DllImport("avifil32.dll")]
public static extern void AVIFileExit();
// Open an AVI file
[DllImport("avifil32.dll", CharSet=CharSet.Unicode)]
public static extern int AVIFileOpen(
out IntPtr ppfile,
String szFile,
OpenFileMode mode,
IntPtr pclsidHandler);
// Release an open AVI stream
[DllImport("avifil32.dll")]
public static extern int AVIFileRelease(
IntPtr pfile);
// Get address of a stream interface that is associated
// with a specified AVI file
[DllImport("avifil32.dll")]
public static extern int AVIFileGetStream(
IntPtr pfile,
out IntPtr ppavi,
int fccType,
int lParam);
// Create a new stream in an existing file and creates an interface to the new stream
[DllImport("avifil32.dll")]
public static extern int AVIFileCreateStream(
IntPtr pfile,
out IntPtr ppavi,
ref AVISTREAMINFO psi);
// Release an open AVI stream
[DllImport("avifil32.dll")]
public static extern int AVIStreamRelease(
IntPtr pavi);
// Set the format of a stream at the specified position
[DllImport("avifil32.dll")]
public static extern int AVIStreamSetFormat(
IntPtr pavi,
int lPos,
ref BITMAPINFOHEADER lpFormat,
后面还有 258 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。