WindowsDisplayAPI
Represents a Windows Video Device including Display Devices and Video Controllers
Creates a new Device
The device path
The device name
The device driver registry key
Gets the registry address of the device driver and configuration
Gets the Windows device name
Gets the Windows device path
Opens the registry key at the address specified by the DeviceKey property
A RegistryKey instance for successful call, otherwise null
Registry address is invalid or unknown.
Opens the registry key of the Windows PnP manager for this device
A RegistryKey instance for successful call, otherwise null
Represents a Windows Attached Display Device
Creates a new Display
The DisplayDevice instance to copy information from
Gets a DisplaySetting object representing the display current settings
Gets a boolean value indicating if this display device is the Windows GDI primary device
Gets a DisplaySettings object representing this display saved settings
Returns a list of all attached displays on this machine
An enumerable list of Displays
Disables and detaches this display device
Indicating if the changes should be applied immediately, recommended value is false
Returns the corresponding Screen instance for this display device
A Screen object
Changes the display device settings to a new DisplaySettings object
The display settings that should be applied
Indicating if the changes should be applied immediately, recommended value is false
Returns the corresponding UnAttachedDisplay device for this display. Only valid when this instance is invalidated
due to display detachment.
Represents a Windows Video Controller Display Adapter Device
Creates a new DisplayAdapter
The device path
The device name
The device driver registry key
Returns a list of all display adapters on this machine
An enumerable list of DisplayAdapters
Returns a list of all display devices connected to this adapter
An enumerable list of DisplayDevices
Returns the corresponding PathDisplayAdapter instance
An instance of PathDisplayAdapter, or null
Represents a path display adapter
Creates a new PathDisplayAdapter
The adapter local unique identification
Gets the display adapter local identification LUID
Gets the display adapter device path
Error code can be retrieved from Win32Exception.NativeErrorCode property
Gets a boolean value indicating the instance validity
Retrieving a list of all adapters from the currently active and inactive paths
An array of PathDisplayAdapter instances
Checks for equality of two PathDisplayAdapter instances
The first instance
The second instance
true if both instances are equal, otherwise false
Checks for inequality of two PathDisplayAdapter instances
The first instance
The second instance
true if both instances are not equal, otherwise false
Opens the registry key of the Windows PnP manager for this display adapter
A RegistryKey instance for successful call, otherwise null
Gets the corresponding DisplayAdapter instance
An instance of DisplayAdapter, or null
Represents a display path source
Creates a new PathDisplaySource
Display adapter
Display source identification
Gets the path display adapter
Gets and sets the current source DPI scaling
Gets the display name
Error code can be retrieved from Win32Exception.NativeErrorCode property
Gets the maximum DPI scaling for this source
Gets the recommended DPI scaling for this source
Gets the zero based display identification
Retrieving a list of all display sources from the currently active and inactive paths
An array of PathDisplaySource instances
Checks for equality of two PathDisplaySource instances
The first instance
The second instance
true if both instances are equal, otherwise false
Checks for inequality of two PathDisplaySource instances
The first instance
The second instance
true if both instances are not equal, otherwise false
Returns the corresponding DisplayDevice instances
An enumerable list of DisplayDevices
Represents a display path target (Display Device)
Creates a new PathDisplayTarget
Display adapter
Display target identification
Gets the path display adapter
Sets the display boot persistence for the target display device
Gets the one-based instance number of this particular target only when the adapter has multiple targets of this
type. The connector instance is a consecutive one-based number that is unique within each adapter. If this is the
only target of this type on the adapter, this value is zero.
Error code can be retrieved from Win32Exception.NativeErrorCode property
The target is not available
Gets the display device path
Error code can be retrieved from Win32Exception.NativeErrorCode property
The target is not available
Gets the display manufacture 3 character code from the display EDID manufacture identification
The target is not available
Error code can be retrieved from Win32Exception.NativeErrorCode property
The EDID information does not contain this value
Gets the display manufacture identification from the display EDID information
The target is not available
Error code can be retrieved from Win32Exception.NativeErrorCode property
The EDID information does not contain this value
Gets the display product identification from the display EDID information
The target is not available
Error code can be retrieved from Win32Exception.NativeErrorCode property
The EDID information does not contain this value
Gets the display friendly name from the display EDID information
The target is not available
Error code can be retrieved from Win32Exception.NativeErrorCode property
Gets a boolean value indicating the device availability
Gets the display device preferred resolution
The target is not available
Error code can be retrieved from Win32Exception.NativeErrorCode property
Gets the display device preferred signal information
The target is not available
Error code can be retrieved from Win32Exception.NativeErrorCode property
Gets the target identification
Gets or sets the device virtual resolution support
The target is not available
Error code can be retrieved from Win32Exception.NativeErrorCode property
Retrieving a list of all display targets from the currently active and inactive paths
An array of PathDisplayTarget instances
Checks for equality of two PathDisplayTarget instances
The first instance
The second instance
true if both instances are equal, otherwise false
Checks for inequality of two PathDisplayTarget instances
The first instance
The second instance
true if both instances are not equal, otherwise false
Opens the registry key of the Windows PnP manager for this display target
A RegistryKey instance for successful call, otherwise null
Returns the corresponding DisplayDevice instance
An instance of DisplayDevice, or null
Represents a path root information
Creates a new PathInfo
The display source
The display position in desktop
The display resolution
The display pixel format
Creates a new PathInfo
The display source
The display position in desktop
The display resolution
The display pixel format
The display clone group, only valid for virtual aware paths
Creates a new PathInfo
The display source
The display position in desktop
The display resolution
The display pixel format
An array of target information
Creates a new PathInfo
The display source
The display position in desktop
The display resolution
The display pixel format
An array of target information
The display clone group, only valid for virtual aware paths
Creates a new PathInfo
The display source
Creates a new PathInfo
The display source
The display clone group, only valid for virtual aware paths
Creates a new PathInfo
The display source
An array of target information
Creates a new PathInfo
The display source
An array of target information
The display clone group, only valid for virtual aware paths
Gets a valid identifier used to show which clone group the path is a member of
This path is not a clone member
Gets extra information about the representing display source
Gets a boolean value indicating if this path is a member of a clone group
Gets a boolean value indicating if this path is the primary GDI path
Source mode information is missing
Gets a boolean value indicating if the source is in use by at least one active path
Gets a boolean value indicating if the source mode information is available
Gets a boolean value indicating the DisplayConfig (CCD API) availability on this system
Gets a boolean value indicating the virtual display mode support on this system
Gets the specifies the pixel format of the source mode
Source mode information is missing
Gets the position in the desktop coordinate space of the upper-left corner of this source surface. The source
surface that is located at (0, 0) is always the primary source surface.
Source mode information is missing
Gets the size of the source mode
Source mode information is missing
Gets the list of target information
Applies an array of paths
The array of paths
true to allow changes and reordering of the provided paths, otherwise false
true to save the paths to the persistence database if call succeed, otherwise false
true to force driver mode enumeration before applying the paths
Error in changing paths
Applies a saved topology
The topology identification to apply
true to allows persistence of the changes, otherwise false
Error in changing paths
Retrieves the list of active paths
true if the caller expects virtual mode settings, otherwise false
An array of PathInfos
Retrieves the list of all paths, active or inactive
true if the caller expects virtual mode settings, otherwise false
An array of PathInfos
Retrieves the list of currently active topology paths
An array of PathInfos
Gets the current active topology identification
The topology identification
Validates an array of paths before applying
The array of paths
true to allow changes and reordering of the provided paths, otherwise false
true if the provided paths are valid, otherwise false
Validates a topology before applying
The topology identification
true if topology is applicable, otherwise false
Contains information about the target desktop image
Creates a new PathTargetDesktopImage
Size of the VidPn source surface that is being displayed on the monitor
Where the desktop image will be positioned within monitor surface size. Region must be
completely inside the bounds of the monitor surface size.
Which part of the desktop image for this clone group will be displayed on this path. This
currently must be set to the desktop size.
Gets part of the desktop image for this clone group that will be displayed on this path. This currently must be set
to the desktop size.
Gets the part that the desktop image will be positioned within monitor surface size. Region must be completely
inside the bounds of the monitor surface size.
Gets the size of the VidPn source surface that is being displayed on the monitor
Checks for equality of two PathTargetDesktopImage instances
The first instance
The second instance
true if both instances are equal, otherwise false
Checks for inequality of two PathTargetDesktopImage instances
The first instance
The second instance
true if both instances are not equal, otherwise false
Represents a path and its target
Creates a new PathTargetInfo
The display target device
A boolean value indicating the target virtual mode support
Creates a new PathTargetInfo
The display target device
Display frequency in millihertz
Display scan line ordering
Display rotation
Display scaling
A boolean value indicating the target virtual mode support
Creates a new PathTargetInfo
The display target device
The display signal information
A boolean value indicating the target virtual mode support
Creates a new PathTargetInfo
The display target device
The display signal information
Display rotation
Display scaling
A boolean value indicating the target virtual mode support
Creates a new PathTargetInfo
The display target device
The display signal information
The display desktop image information
A boolean value indicating the target virtual mode support
Creates a new PathTargetInfo
The display target device
The display signal information
The display desktop image information
Display rotation
Display scaling
A boolean value indicating the target virtual mode support
Gets an instance of PathTargetDesktopImage containing information about this target desktop image
Target mode information is missing
Gets extra information about the representing display target device
Gets a boolean value indicating that the output is currently being forced in a boot-persistent manner
Gets a boolean value indicating that the output is currently being forced in a path-persistent manner
Gets a boolean value indicating that the output is currently being forced in a non-persistent manner
Gets a value that specifies the refresh rate of the target
Gets a boolean value indicating if the target is in use on an active path
Gets a boolean value indicating the presence of the desktop image information
Gets a boolean value indicating that the output can be forced on this target even if a monitor is not detected
Gets a boolean value indicating if this path is or should be active
Gets a boolean value indicating the presence of the signal information
Gets a boolean value that indicates if the path supports virtual mode
Gets the type of the display device connection
Gets the rotation of the target
Gets the value that specifies how the source image is scaled to the target
Gets the value that specifies the scan-line ordering of the output on the target
Gets the target device signal information
Target mode information is missing
Contains information about the target signal info
Creates a new PathTargetSignalInfo
Specifies the width and height (in pixels) of the active portion of the video signal.
Specifies the width and height (in pixels) of the entire video signal.
Vertical synchronization frequency.
The scan-line ordering (for example, progressive or interlaced) of the video signal.
The video standard (if any) that defines the video signal. Supported by WDDM 1.3 and later
display mini-port drivers running on Windows 8.1 and later.
The ratio of the VSync rate of a monitor that displays through a Miracast
connected session to the VSync rate of the Miracast sink. The ratio of the VSync rate of a monitor that displays
through a Miracast connected session to the VSync rate of the Miracast sink. Supported by WDDM 1.3 and later
display mini-port drivers running on Windows 8.1 and later.
Creates a new PathTargetSignalInfo
A possible display settings
Total signal size
Gets the width and height (in pixels) of the active portion of the video signal
Gets the horizontal synchronization frequency
Gets the pixel clock rate
Gets the scan-line ordering (for example, progressive or interlaced) of the video signal
Gets the width and height (in pixels) of the entire video signal
Gets the ratio of the VSync rate of a monitor that displays through a Miracast connected session to the VSync rate
of the Miracast sink. The ratio of the VSync rate of a monitor that displays through a Miracast connected session
to the VSync rate of the Miracast sink. Supported by WDDM 1.3 and later display mini-port drivers running on Windows
8.1 and later
Gets the vertical synchronization frequency
Gets the video standard (if any) that defines the video signal. Supported by WDDM 1.3 and later display mini-port
drivers running on Windows 8.1 and later
Checks for equality of two PathTargetSignalInfo instances
The first instance
The second instance
true if both instances are equal, otherwise false
Checks for inequality of two PathTargetSignalInfo instances
The first instance
The second instance
true if both instances are not equal, otherwise false
Represents a Windows Display Device
Creates a new DisplayDevice
The device path
The device name
The device driver registry key
Creates a new DisplayDevice
The device path
The device name
The device driver registry key
The device parent DisplayAdapter
true if the device is attached, otherwise false
true if this instance is valid, otherwise false
Creates a new DisplayDevice
The device path
The device name
The device driver registry key
The device parent DisplayAdapter
The device source display name
The device target display name
true if the device is attached, otherwise false
true if this instance is valid, otherwise false
Gets the display device driving display adapter instance
Gets the display device target name
Gets the display device source name
Gets a boolean value indicating if this display device is currently attached
Gets a boolean value indicating if this instance is no longer valid, this may happen when display device attached
status changes
Returns a list of possible display setting for this display device
An enumerable list of DisplayPossibleSettings
Returns the best possible display setting for this display device
A DisplayPossibleSetting instance
Returns the corresponding PathDisplaySource instance
An instance of PathDisplaySource, or null
Returns the corresponding PathDisplayTarget instance
An instance of PathDisplayTarget, or null
Represents a possible display setting
Creates a new DisplayPossibleSetting
Display resolution
Display frequency
Display color depth
Indicating if display is using interlaces scan out
Gets the color depth of the display monitor in bits per pixel
Gets the frequency of the display monitor in hz
Gets a boolean value indicating if the display uses the interlaced signal
Gets the size of the display monitor
Holds configurations of a windows display
Creates a new DisplaySetting
The basic configuration information object
Display position on desktop
Creates a new DisplaySetting
The basic configuration information object
Display position on desktop
Display orientation and rotation
Display output behavior in case of presenting a low-resolution mode on a
higher-resolution display
Creates a new DisplaySetting
Display resolution
Display position on desktop
Display frequency
Creates a new DisplaySetting
Display resolution
Display frequency
Creates a new DisplaySetting
Display resolution
Display position on desktop
Display frequency
Display color depth
Indicating if display is using interlaces scan out
Display orientation and rotation
Display output behavior in case of presenting a low-resolution mode on a
higher-resolution display
Gets the
Gets or sets the orientation of the display monitor
Gets output behavior in case of presenting a low-resolution mode on a higher-resolution display.
Gets or sets the position of the display monitor
Applies settings that are saved using SaveDisplaySettings() or other similar methods but not yet applied
Sets and possibility applies a list of display settings
A key value dictionary of DisplayDevices and DisplaySettings
Indicating if the changes should be applied immediately, recommended value is false
Represents errors that occurs because of two similar but not identical path or path target
Creates a new DuplicateModeException exception
The human readable message of the exception
Represents errors that occurs because of an invalid display instance
Creates a new InvalidDisplayException
The path of invalidated display device
Gets the path of the display device
Represents errors that occurs because of missing or invalid EDID information
Creates a new InvalidEDIDInformation exception
The human readable message of the exception
Represents errors that occurs because of missing or invalid registry address information
Creates a new InvalidRegistryAddressException exception
The human readable message of the exception
Represents errors that occurs because of a missing display
Creates a new MissingDisplayException
The path of missing display device
The human readable message of the exception
Gets the path of the display device
Represents errors that occurs because of missing mode information
Creates a new MissingModeException
The missing mode type
The human readable message of the exception
Gets the missing mode type
Represents errors that occurs during a mode change request
Creates a new ModeChangeException
The device responsible for the mode change
The error code
The human readable message of the exception
Gets the display device responsible for the mode change
Gets the error code
Represents errors that occurs because of not being in a valid clone group
Creates a new NotACloneMemberException
The human readable message of the exception
Represents errors that occurs because of an invalid path request
Creates a new PathChangeException
The human readable message of the exception
Creates a new PathChangeException
The human readable message of the exception
The inner causing exception
Represents errors that occurs because of path target being inavailable
Creates a new TargetNotAvailableException
The human readable message of the exception
The driving adapter's identification
The target identification number
Gets the driving adapter's identification
Gets the target's identification number
Contains possible values for the result of mode change request
Completed successfully
Changes needs restart
Failed to change and save setings
Invalid data provide
Changes not updated
Invalid flags provided
Bad parameters provided
Bad Dual View mode used with mode
The device is part of the desktop.
The device is part of the desktop.
Represents a pseudo device used to mirror application drawing for remoting or other purposes.
The device is VGA compatible.
The device is removable; it cannot be the primary display.
The device has more display modes than its output devices support.
Contains possible values for the display fixed output
Default behavior
Stretches the output to fit to the display
Centers the output in the middle of the display
Contains possible values for the display orientation
No rotation
90 degree rotation
180 degree rotation
270 degree rotation
Possbile types of modes
Invalid value for mode type
Source mode type
Target mode type
Display image type
Possible pixel formats
https://msdn.microsoft.com/en-us/library/windows/hardware/ff553963(v=vs.85).aspx
Pixel format is not specified
Indicates 8 bits per pixel format.
Indicates 16 bits per pixel format.
Indicates 24 bits per pixel format.
Indicates 32 bits per pixel format.
Indicates that the current display is not an 8, 16, 24, or 32 bits per pixel GDI desktop mode.
Rotation modes
https://msdn.microsoft.com/en-us/library/windows/hardware/ff553970(v=vs.85).aspx
Rotation mode is not specified
Indicates that rotation is 0 degrees—landscape mode.
Indicates that rotation is 90 degrees clockwise—portrait mode.
Indicates that rotation is 180 degrees clockwise—inverted landscape mode.
Indicates that rotation is 270 degrees clockwise—inverted portrait mode.
Scaling modes
https://msdn.microsoft.com/en-us/library/windows/hardware/ff553974(v=vs.85).aspx
Scaling mode is not specified
Indicates the identity transformation; the source content is presented with no change. This transformation is
available only if the path's source mode has the same spatial resolution as the path's target mode.
Indicates the centering transformation; the source content is presented unscaled, centered with respect to the
spatial resolution of the target mode.
Indicates the content is scaled to fit the path's target.
Indicates the aspect-ratio centering transformation.
Indicates that the caller requests a custom scaling that the caller cannot describe with any of the other values.
Only a hardware vendor's value-add application should use this value, because the value-add application might
require a private interface to the driver. The application can then use this value to indicate additional context
for the driver for the custom value on the specified path.
Indicates that the caller does not have any preference for the scaling.
Possible values for display scan line ordering
https://msdn.microsoft.com/en-us/library/windows/hardware/ff553977(v=vs.85).aspx
Indicates that scan-line ordering of the output is unspecified.
Indicates that the output is a progressive image.
Indicates that the output is an interlaced image that is created beginning with the upper field.
Indicates that the output is an interlaced image that is created beginning with the lower field.
Possible topology identifications
https://msdn.microsoft.com/en-us/library/windows/hardware/ff554001(v=vs.85).aspx
Invalid topology identification
Indicates that the display topology is an internal configuration.
Indicates that the display topology is clone-view configuration.
Indicates that the display topology is an extended configuration.
Indicates that the display topology is an external configuration.
Possible target's connector types
https://msdn.microsoft.com/en-us/library/windows/hardware/ff554003(v=vs.85).aspx
Indicates a connector that is not one of the types that is indicated by the following enumerators in this
enumeration.
Indicates an HD15 (VGA) connector.
Indicates an S-video connector.
Indicates a composite video connector group.
Indicates a component video connector group.
Indicates a Digital Video Interface (DVI) connector.
Indicates a High-Definition Multimedia Interface (HDMI) connector.
Indicates a Low Voltage Differential Swing (LVDS) connector.
Indicates a Japanese D connector.
Indicates an SDI connector.
Indicates an external display port, which is a display port that connects externally to a display device.
Indicates an embedded display port that connects internally to a display device.
Indicates an external Unified Display Interface (UDI), which is a UDI that connects externally to a display device.
Indicates an embedded UDI that connects internally to a display device.
Indicates a dongle cable that supports standard definition television (SDTV).
Indicates that the VidPN target is a Miracast wireless display device.
Indicates that the video output device connects internally to a display device (for example, the internal
connection in a laptop computer).
Possible values for QueryDisplayConfig() flags property
https://msdn.microsoft.com/en-us/library/windows/hardware/ff569215(v=vs.85).aspx
All the possible path combinations of sources to targets.
Currently active paths only.
Active path as defined in the CCD database for the currently connected displays.
Virtual Mode Aware
Possible video signal standards
https://msdn.microsoft.com/en-us/library/windows/hardware/ff546632(v=vs.85).aspx
Indicates that the variable has not yet been assigned a meaningful value.
Represents the Video Electronics Standards Association (VESA) Display Monitor Timing (DMT) standard.
Represents the VESA Generalized Timing Formula (GTF) standard.
Represents the VESA Coordinated Video Timing (CVT) standard.
Represents the IBM standard.
Represents the Apple standard.
Represents the National Television Standards Committee (NTSC) standard.
Represents the NTSC japanese standard.
Represents the NTSC standard.
Represents the Phase Alteration Line (PAL) standard.
Represents the PAL standard.
Represents the PAL standard.
Represents the PAL standard.
Represents the PAL standard.
Represents the PAL standard.
Represents the PAL standard.
Represents the PAL standard.
Represents the Systeme Electronic Pour Couleur Avec Memoire (SECAM) standard.
Represents the SECAM standard.
Represents the SECAM standard.
Represents the SECAM standard.
Represents the SECAM standard.
Represents the SECAM standard.
Represents the SECAM standard.
Represents the SECAM standard.
Represents the Electronics Industries Association (EIA) standard.
Represents the EIA standard.
Represents the EIA standard.
Represents the PAL standard.
Represents the PAL standard.
Represents the PAL standard.
Represents the PAL standard.
Represents any video standard other than those represented by the previous constants in this enumeration.
Locally unique identifier is a 64-bit value guaranteed to be unique only on the system on which it was generated.
32Bit unsigned integer, low
32Bit signed integer, high
Creates a new LUID
32Bit unsigned integer, low
32Bit signed integer, high
Checks for equality between two objects of same type
The first object
The second object
true, if both objects are equal, otherwise false
Checks for inequality between two objects of same type
The first object
The second object
true, if both objects are not equal, otherwise false
Checks if this type is empty and holds no real data
true if empty, otherwise false
Returns an empty instance of this type
Represents a Windows UnAttached Display Device
Creates a new UnAttachedDisplay
The DisplayDevice instance to copy information from
Returns a list of all unattached displays on this machine
An enumerable list of UnAttachedDisplay
Enables this unattached display device
The display settings that should be applied while enabling the display device
Indicating if the changes should be applied immediately, recommended value is false
Returns the corresponding Display device for this unattached display. Only functions when this instance is invalidated
due to display attachment.