Exemple #1
0
        public static List<string> Codecs()
        {
            List<string> codecs = new List<string>();
            NM.ICINFO installedCompresssorInfo = new NM.ICINFO();
            installedCompresssorInfo.dwSize = Marshal.SizeOf(installedCompresssorInfo);

            for (int x = 0; NM.ICInfo(mmioFOURCC("vidc"), x, ref installedCompresssorInfo); x++)
            {
                codecs.Add(FourCCToAscii(installedCompresssorInfo.fccHandler));
            }

            return codecs;
        }