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