
Quadro SDI Output PG-03776-001_v06
| 75
12 NVAPI VIO
typedef NvU32 NVVIOOWNERID; // Unique identifier for VIO owner
(process identifier or NVVIOOWNERID_NONE)
#define NVVIOOWNERID_NONE 0 // Unregistered ownerId
typedef enum _NVVIOOWNERTYPE // Owner type for device
{
NVVIOOWNERTYPE_NONE, // No owner for device
NVVIOOWNERTYPE_APPLICATION, // Application owns device
NVVIOOWNERTYPE_DESKTOP, // Desktop transparent mode owns
device (not applicable for video input)
}NVVIOOWNERTYPE;
// Access rights for NvAPI_VIO_Open()
#define NVVIO_O_READ 0x00000000 // Read access (not
applicable for video output)
#define NVVIO_O_WRITE_EXCLUSIVE 0x00010001 // Write exclusive
access (not applicable for video input)
#define NVVIO_VALID_ACCESSRIGHTS ( NVVIO_O_READ | \
NVVIO_O_WRITE_EXCLUSIVE )
// VIO_DATA.ulOwnerID high-bit is set only if device has been
initialized by VIOAPI
// examined at NvAPI_GetCapabilities|NvAPI_VIO_Open to determine if
settings need to be applied from registry or POR state read
#define NVVIO_OWNERID_INITIALIZED 0x80000000
// VIO_DATA.ulOwnerID next-bit is set only if device is currently in
exclusive write access mode from NvAPI_VIO_Open()
#define NVVIO_OWNERID_EXCLUSIVE 0x40000000
// VIO_DATA.ulOwnerID lower bits are:
// NVGVOOWNERTYPE_xxx enumerations indicating use context
#define NVVIO_OWNERID_TYPEMASK 0x0FFFFFFF // mask for
NVVIOOWNERTYPE_xxx
Kommentare zu diesen Handbüchern