コード例 #1
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);
        }
コード例 #2
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);
        }
コード例 #3
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);
 }
コード例 #4
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;
 }
コード例 #5
0
 private static extern Int32 API_SendMonitorToWatchMode(ref POLAR_SSET_GENERAL psg);
コード例 #6
0
 private static extern Int32 API_ReadMonitorInfo(ref POLAR_SSET_GENERAL psg, ref POLAR_SSET_MONITORINFO psmi);
コード例 #7
0
 private static extern Int32 API_SendMonitorToWatchMode(ref POLAR_SSET_GENERAL psg);
コード例 #8
0
 private static extern Int32 API_ReadMonitorInfo(ref POLAR_SSET_GENERAL psg, ref POLAR_SSET_MONITORINFO psmi);