// function for setting overlay options public void CharmSetOptions(CharmSettings settings) { // first check the RPM options that WON'T be sent to the D2DOverlay if ((settings & CharmSettings.WPM_WRITE_DIRTy) == CharmSettings.WPM_WRITE_DIRTy) { this.fastWrite = true; } else { // otherwise call the pinvoked function to set the window options DirectOverlaySetOption(settings); } }
private static extern void DirectOverlaySetOption(CharmSettings option);