NVAPI Reference Documentation
NVIDIA
Release 435: August 22
2019

NV_VIEW_TARGET_INFO Struct Reference

#include <nvapi.h>

Data Fields

NvU32 version
 
NvU32 count
 
struct {
   NvU32   deviceMask
 
   NvU32   sourceId
 
   NvU32   bPrimary:1
 
   NvU32   bInterlaced:1
 
   NvU32   bGDIPrimary:1
 
   NvU32   bForceModeSet:1
 
target [NVAPI_MAX_VIEW_TARGET]
 

Detailed Description

Used in NvAPI_SetView() and NvAPI_GetView()

Field Documentation

NvU32 NV_VIEW_TARGET_INFO::bForceModeSet

(IN) Used only on Win7 and higher during a call to NvAPI_SetView(). Turns off optimization & forces OS to set supplied mode.

NvU32 NV_VIEW_TARGET_INFO::bGDIPrimary

(IN/OUT) Indicates if this is the desktop GDI primary.

NvU32 NV_VIEW_TARGET_INFO::bInterlaced

(IN/OUT) Indicates if the timing being used on this monitor is interlaced.

NvU32 NV_VIEW_TARGET_INFO::bPrimary

(OUT) Indicates if this is the GPU's primary view target. This is not the desktop GDI primary. NvAPI_SetView automatically selects the first target in NV_VIEW_TARGET_INFO index 0 as the GPU's primary view.

NvU32 NV_VIEW_TARGET_INFO::count

(IN) target count

NvU32 NV_VIEW_TARGET_INFO::deviceMask

(IN/OUT) Device mask

NvU32 NV_VIEW_TARGET_INFO::sourceId

(IN/OUT) Source ID - values will be based on the number of heads exposed per GPU.

struct { ... } NV_VIEW_TARGET_INFO::target[NVAPI_MAX_VIEW_TARGET]
NvU32 NV_VIEW_TARGET_INFO::version

(IN) structure version


The documentation for this struct was generated from the following file:


Copyright (c) 2007-2019 NVIDIA Corporation. All rights reserved.

NVIDIA