/// <summary> /// Gets the pointer to the adapter monitor /// </summary> /// <param name="adapterOrdinal">The ordinal of the adapter</param> /// <returns>A pointer to the adaptor monitor</returns> private IntPtr GetAdapterMonitor(uint adapterOrdinal) { IntPtr pMonitor = m_d3dEx != null?m_d3dEx.GetAdapterMonitor(adapterOrdinal) : m_d3d.GetAdapterMonitor(adapterOrdinal); return(pMonitor); }
/// <summary> /// Gets the pointer to the adapter monitor /// </summary> /// <param name="adapterOrdinal">The ordinal of the adapter</param> /// <returns>A pointer to the adaptor monitor</returns> private IntPtr GetAdapterMonitor(uint adapterOrdinal) { IntPtr pMonitor = IsVistaOrBetter ? m_d3dEx.GetAdapterMonitor(adapterOrdinal) : m_d3d.GetAdapterMonitor(adapterOrdinal); return(pMonitor); }
/// <summary> /// Gets the pointer to the adapter monitor /// </summary> /// <param name="adapterOrdinal">The ordinal of the adapter</param> /// <returns>A pointer to the adaptor monitor</returns> private IntPtr GetAdapterMonitor(uint adapterOrdinal) => _d3dEx.GetAdapterMonitor(adapterOrdinal);