Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "DISPLAY_DEVICE" in [All]

Enums

.
Summary
Used with the DISPLAY_DEVICE structure.
.

See also DISPLAY_DEVICE

Structures

.

public struct DISPLAY_DEVICE

.

Public Structure DISPLAY_DEVICE

.
Documentation
[DISPLAY_DEVICE] on MSDN
.

public struct DISPLAY_DEVICE

.

Public Structure DISPLAY_DEVICE

.
Documentation
[DISPLAY_DEVICE] on MSDN

Constants

.

    public static Guid GUID_DISPLAY_DEVICE_ARRIVAL = new Guid("1CA05180-A699-450A-9A0C-DE4FBE3DDD89");

.

    public static PropertyKey PKEY_DeviceDisplay_DeviceDescription1 = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000051);  // VT_LPWSTR

.

    public static PropertyKey PKEY_DeviceDisplay_DeviceDescription2 = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000052);  // VT_LPWSTR

.

    public static PropertyKey PKEY_DeviceDisplay_DeviceFunctionSubRank = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000064);  // VT_UI4

user32

.

DISPLAY_DEVICE d = new DISPLAY_DEVICE();

.

static extern bool EnumDisplayDevices(string lpDevice, uint iDevNum, ref DISPLAY_DEVICE lpDisplayDevice, uint dwFlags);

.

Public Shared Function EnumDisplayDevices(ByVal lpDevice As String, ByVal iDevNum As UInteger, ByRef lpDisplayDevice As DISPLAY_DEVICE, ByVal dwFlags As UInteger) As Integer

.

DISPLAY_DEVICE

.

    DISPLAY_DEVICE d=new DISPLAY_DEVICE();

.

    Dim dispDev1 As New DISPLAY_DEVICE

misc

.

Discovered DISPLAY_DEVICE struct defined with CharSet=CharSet.Ansi. Works much better on Win7 with CharSet=CharSet.Auto. Suspect this is also true of a number of other structs and Win7 predecessors.


 
Access PInvoke.net directly from VS: