Desktop Functions: Smart Device Functions:
|
Search Results for "DISPLAY_DEVICE" in [All]EnumsStructures2: DISPLAY
Constants
public static Guid GUID_DISPLAY_DEVICE_ARRIVAL = new Guid("1CA05180-A699-450A-9A0C-DE4FBE3DDD89"); 5: PROPERTYKEY
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 d=new DISPLAY_DEVICE();
Dim dispDev1 As New DISPLAY_DEVICE misc8: Comments 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. |