Пример #1
0
        public static Constants.FT_STATUS FT_Purge(uint ftHandle, PurgeBuffer dwMask)
        {
            switch (Environment.OSVersion.Platform)
            {
            case PlatformID.MacOSX:
            {
                break;
            }

            case PlatformID.Unix:
            {
                return(Linux.Methods.FT_Purge(ftHandle, dwMask));
            }

            case PlatformID.Win32NT:
            case PlatformID.Win32S:
            case PlatformID.Win32Windows:
            case PlatformID.WinCE:
            {
                return(Windows.Methods.FT_Purge(ftHandle, dwMask));
            }

            case PlatformID.Xbox:
            {
                break;
            }
            }
            throw new PlatformNotSupportedException();
        }
Пример #2
0
 public void Purge(PurgeBuffer buffers = PurgeBuffer.Both)
 {
     Internal.Constants.FT_STATUS status = Internal.Methods.FT_Purge(mvarHandle, buffers);
     FT_StatusToException(status);
 }
Пример #3
0
 public static extern Constants.FT_STATUS FT_Purge(uint ftHandle, PurgeBuffer dwMask);