summaryrefslogtreecommitdiff
path: root/nvidia-cfg.h
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2008-02-13 10:26:53 -0800
committerAaron Plattner <aplattner@nvidia.com>2008-02-13 10:26:53 -0800
commit776e01ad78bae30842ca1bc5b9e78ab7c143924f (patch)
treed656daeee6c86a777eb55f301e1ec290d5b13755 /nvidia-cfg.h
parentaedec718b1d6e9487861528dfb310db0b3a53c89 (diff)
Diffstat (limited to 'nvidia-cfg.h')
-rw-r--r--nvidia-cfg.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/nvidia-cfg.h b/nvidia-cfg.h
index 020d947..6069d2a 100644
--- a/nvidia-cfg.h
+++ b/nvidia-cfg.h
@@ -226,4 +226,16 @@ NvCfgBool nvCfgGetEDID(NvCfgDeviceHandle handle,
unsigned int display_device,
NvCfgDisplayDeviceInformation *info);
+
+/*
+ * nvCfgIsPrimaryDevice() - determines whether the specified NVIDIA
+ * device is the primary device. On success, NVCFG_TRUE will be
+ * returned and is_primary_device set to indicate whether the
+ * device is the primary device. On failure, NVCFG_FALSE will be
+ * returned.
+ */
+
+NvCfgBool nvCfgIsPrimaryDevice(NvCfgDeviceHandle handle,
+ NvCfgBool *is_primary_device);
+
#endif /* __NVIDIA_CFG__ */