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(); }
public void Purge(PurgeBuffer buffers = PurgeBuffer.Both) { Internal.Constants.FT_STATUS status = Internal.Methods.FT_Purge(mvarHandle, buffers); FT_StatusToException(status); }
public static extern Constants.FT_STATUS FT_Purge(uint ftHandle, PurgeBuffer dwMask);