第一:
函數這樣定義
[DllImport("DSStream.dll")]   
public static extern int DSStream_EnumVideoCompressor(VideoCompressorInfo pInfo, out int piVidCompNum);