private static POLAR_SSET_GENERAL Create_POLAR_SSET_GENERAL() { POLAR_SSET_GENERAL o = new POLAR_SSET_GENERAL(); o.szWaveFile = new string(' ', 260); o.zDlgMsg = new string(' ', 50); o.iSize = 354; return(o); }
private static bool ReadMonitorInfo(out POLAR_SSET_MONITORINFO monitorInfo) { POLAR_SSET_GENERAL psg = new POLAR_SSET_GENERAL(); monitorInfo = new POLAR_SSET_MONITORINFO(); // Fill general information psg.iConnection = 1; psg.hOwnerWnd = IntPtr.Zero; // Read monitor info from HR monitor return(API_ReadMonitorInfo(ref psg, ref monitorInfo) != 0); }
private static bool ReadMonitorInfo(out POLAR_SSET_MONITORINFO monitorInfo) { POLAR_SSET_GENERAL psg = new POLAR_SSET_GENERAL(); monitorInfo = new POLAR_SSET_MONITORINFO(); // Fill general information psg.iConnection = 1; psg.hOwnerWnd = IntPtr.Zero; // Read monitor info from HR monitor return (API_ReadMonitorInfo(ref psg, ref monitorInfo) != 0); }
private static POLAR_SSET_GENERAL Create_POLAR_SSET_GENERAL() { POLAR_SSET_GENERAL o = new POLAR_SSET_GENERAL(); o.szWaveFile = new string(' ', 260); o.zDlgMsg = new string(' ', 50); o.iSize = 354; return o; }
private static extern Int32 API_SendMonitorToWatchMode(ref POLAR_SSET_GENERAL psg);
private static extern Int32 API_ReadMonitorInfo(ref POLAR_SSET_GENERAL psg, ref POLAR_SSET_MONITORINFO psmi);