NVAPI Reference Documentation
|
|
Release 560
|
Functions | |
NVAPI_INTERFACE | NvAPI_EnumNvidiaDisplayHandle (NvU32 thisEnum, NvDisplayHandle *pNvDispHandle) |
NVAPI_INTERFACE | NvAPI_EnumNvidiaUnAttachedDisplayHandle (NvU32 thisEnum, NvUnAttachedDisplayHandle *pNvUnAttachedDispHandle) |
NVAPI_INTERFACE | NvAPI_GetAssociatedNvidiaDisplayHandle (const char *szDisplayName, NvDisplayHandle *pNvDispHandle) |
NVAPI_INTERFACE | NvAPI_DISP_GetAssociatedUnAttachedNvidiaDisplayHandle (const char *szDisplayName, NvUnAttachedDisplayHandle *pNvUnAttachedDispHandle) |
NVAPI_INTERFACE NvAPI_DISP_GetAssociatedUnAttachedNvidiaDisplayHandle | ( | const char * | szDisplayName, |
NvUnAttachedDisplayHandle * | pNvUnAttachedDispHandle | ||
) |
DESCRIPTION: This function returns the handle of an unattached NVIDIA display that is associated with the given display name (such as "\\DISPLAY1").
SUPPORTED OS: Windows 7 and higher
NVAPI_INVALID_ARGUMENT | Either argument is NULL. |
NVAPI_OK | *pNvUnAttachedDispHandle is now valid. |
NVAPI_NVIDIA_DEVICE_NOT_FOUND | No NVIDIA device maps to that display name. |
NVAPI_INTERFACE NvAPI_EnumNvidiaDisplayHandle | ( | NvU32 | thisEnum, |
NvDisplayHandle * | pNvDispHandle | ||
) |
This function returns the handle of the NVIDIA display specified by the enum index (thisEnum). The client should keep enumerating until it returns error.
Note: Display handles can get invalidated on a modeset, so the calling applications need to renum the handles after every modeset.
SUPPORTED OS: Windows 7 and higher
[in] | thisEnum | The index of the NVIDIA display. |
[out] | pNvDispHandle | Pointer to the NVIDIA display handle. |
NVAPI_INVALID_ARGUMENT | Either the handle pointer is NULL or enum index too big |
NVAPI_OK | Return a valid NvDisplayHandle based on the enum index |
NVAPI_NVIDIA_DEVICE_NOT_FOUND | No NVIDIA device found in the system |
NVAPI_END_ENUMERATION | No more display device to enumerate |
NVAPI_INTERFACE NvAPI_EnumNvidiaUnAttachedDisplayHandle | ( | NvU32 | thisEnum, |
NvUnAttachedDisplayHandle * | pNvUnAttachedDispHandle | ||
) |
This function returns the handle of the NVIDIA unattached display specified by the enum index (thisEnum). The client should keep enumerating until it returns error. Note: Display handles can get invalidated on a modeset, so the calling applications need to renum the handles after every modeset.
SUPPORTED OS: Windows 7 and higher
[in] | thisEnum | The index of the NVIDIA display. |
[out] | pNvUnAttachedDispHandle | Pointer to the NVIDIA display handle of the unattached display. |
NVAPI_INVALID_ARGUMENT | Either the handle pointer is NULL or enum index too big |
NVAPI_OK | Return a valid NvDisplayHandle based on the enum index |
NVAPI_NVIDIA_DEVICE_NOT_FOUND | No NVIDIA device found in the system |
NVAPI_END_ENUMERATION | No more display device to enumerate. |
NVAPI_INTERFACE NvAPI_GetAssociatedNvidiaDisplayHandle | ( | const char * | szDisplayName, |
NvDisplayHandle * | pNvDispHandle | ||
) |
This function returns the handle of the NVIDIA display that is associated with the given display "name" (such as "\\.\DISPLAY1").
SUPPORTED OS: Windows 7 and higher
NVAPI_INVALID_ARGUMENT | Either argument is NULL |
NVAPI_OK | *pNvDispHandle is now valid |
NVAPI_NVIDIA_DEVICE_NOT_FOUND | No NVIDIA device maps to that display name |