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" in [All]

credui

.
Summary
The CredUIPromptForWindowsCredentials function creates and displays a configurable dialog box that allows users to supply credential information by using any credential provider installed on the local computer.
.

    ''' The CredUIPromptForWindowsCredentials function creates and displays a configurable dialog box that allows users to supply credential information by using any credential provider installed on the local computer.

.

    ''' <param name="pfSave">If set to <c>True</c> the check the "Save" checkbox on the dialog - only displayed if CREDUIWIN_CHECKBOX is passed in dwFlags.</param>

.

      /// The Save check box is displayed in the dialog box.

.

      /// The credential dialog box should be displayed on the secure desktop. This value cannot be combined with CREDUIWIN_GENERIC.

.

      else errorcode = 1326; //Else display an error message inside the dialog next time (The errorcodes are defined in 'winerror.h')

.

     credui.pszMessageText = "DisplayedMessage";

imm32

.
Summary
This function displays the configuration dialog box for the IME.

crypt32

.

    const uint CERT_NAME_SIMPLE_DISPLAY_TYPE    = 4;

.

    const uint CERT_NAME_FRIENDLY_DISPLAY_TYPE  = 5;

.

                        CERT_NAME_FRIENDLY_DISPLAY_TYPE,

.

                      CERT_NAME_SIMPLE_DISPLAY_TYPE, _

coredll

.
Summary
This function queries the user for notification settings by displaying a dialog box showing options that are valid for the current hardware platform.
.
Summary
Get/change the display rotation (landscape/portrait)
.

static extern int ChangeDisplaySettingsEx(string lpszDeviceName, ref DEVMODE lpDevMode, IntPtr hwnd, int dwflags, IntPtr lParam);

.

     public int dmDisplayFlags;

.

     public int dmDisplayFrequency;

.

     public int dmDisplayOrientation;

.

Declare Function ChangeDisplaySettingsEx Lib "coredll.dll" (ByVal lpszDeviceName As String, ByVal lpDevMode As Byte(), ByVal hwnd As IntPtr, ByVal dwflags As CDSFlags, ByVal lParam As IntPtr) As CDSRet

.

    DM_DISPLAYORIENTATION = 8388608

.

    DM_DISPLAYQUERYORIENTATION = 16777216

.

    ' Flags for ChangeDisplaySettings

.

    ' Return values for ChangeDisplaySettings

.

    static extern int ChangeDisplaySettingsEx(string lpszDeviceName,

.

        public int dmDisplayFlags;

.

        public int dmDisplayFrequency;

.

        public int dmDisplayOrientation;

.

        ChangeDisplaySettingsEx(null, ref DevM2, IntPtr.Zero, 2, IntPtr.Zero); // 2 = test

.

        MessageBox.Show("Supported: " + DevM2.dmDisplayOrientation.ToString());

.

        ChangeDisplaySettingsEx(null, ref devmode, IntPtr.Zero, 2, IntPtr.Zero); // 2 = test

.

        MessageBox.Show("Current: " + devmode.dmDisplayOrientation.ToString());

.

        devmode.dmDisplayOrientation = (devmode.dmDisplayOrientation == 0) ? 1 : 0; //switch between 0, 90 rotation

.

        ChangeDisplaySettingsEx(null, ref devmode, IntPtr.Zero, 0, IntPtr.Zero); // 0 = set

.

    Public Property dmDisplayFlags() As UInteger

.

    Public Property dmDisplayFrequency() As UInteger

.

    Public Property dmDisplayOrientation() As DMD

.

    Friend Shared Function ChangeDisplaySettingsEx(ByVal lpszDeviceName As String, ByVal lpDevMode As Byte(), ByVal hwnd As IntPtr, ByVal dwflags As CDSFlags, ByVal lParam As IntPtr) As CDSRet

.

        devMode.dmFields = DM_Fields.DM_DISPLAYORIENTATION

.

        devMode.dmDisplayOrientation = DMD.DMDO_0

.

        devMode.dmDisplayOrientation = DMD.DMDO_90

.

        devMode.dmDisplayOrientation = DMD.DMDO_180

.

        devMode.dmDisplayOrientation = DMD.DMDO_270

.

        Dim ret As CDSRet = ChangeDisplaySettingsEx(Nothing, devMode.Data, IntPtr.Zero, 0, IntPtr.Zero)

.
Documentation
[ChangeDisplaySettingsEx] on MSDN
.

Turn Off the Display While Running Applications

.

Applications like the Microsoft® Windows Media™ Player for Pocket PC allow the user to turn off the display while the application is running in the background. This article shows you how to do this with your own applications.

.
Summary
This function retrieves a handle to a display device context (DC) for the client area of the specified window. The display device context can be used in subsequent graphics display interface (GDI) functions to draw in the client area of the window.
.

    /// 17 COLOR_GRAYTEXT Color of shaded text. This color is set to 0 if the current display driver does not support a solid gray color.

.

    /// 21 COLOR_3DDKSHADOW Color of the dark shadow for three-dimensional display elements.

.

    /// 22 COLOR_3DLIGHT Highlight color of three-dimensional display elements for edges that face the light source.

.

        /// <summary>Displays the window.</summary>

.
Summary
This function shows or hides the currently active input panel window. An application must call this function to display the input panel and its current input method (taken from msdn2.microsoft.com)
.
Summary
This function displays a floating pop-up menu at the specified location and tracks the selection of items on the pop-up menu. The floating pop-up menu can appear anywhere on the screen.
.

    // Display a Pop Up menu at the bottom right corner of the working area of the screen

user32

.
Summary
.

    public enum ChangeDisplaySettingsFlags : uint

.

    Public Enum ChangeDisplaySettingsFlags As UInteger

.
Summary
.

static extern DISP_CHANGE ChangeDisplaySettingsEx(string lpszDeviceName, ref DEVMODE lpDevMode, IntPtr hwnd, ChangeDisplaySettingsFlags dwflags, IntPtr lParam);

.

Private Shared Function ChangeDisplaySettingsEx(ByVal lpszDeviceName As String, ByRef lpDevMode As DEVMODE, ByVal hwnd As IntPtr, ByVal dwflags As UInteger, ByVal lParam As IntPtr) As DISP_CHANGE

.

ChangeDisplaySettingsFlags

.

See also ChangeDisplaySettings

.

DISPLAY_DEVICE d = new DISPLAY_DEVICE();

.

int deviceID=1; // This is only for my device setting. Go through the whole EnumDisplayDevices to find your device  

.

EnumDisplayDevices(null,deviceID, ref  d, 0); //

.

EnumDisplaySettings(d.DeviceName, 0, ref dm);

.

ChangeDisplaySettingsEx(d.DeviceName, ref dm, IntPtr.Zero, CDS_UPDATEREGISTRY, IntPtr.Zero);

.
Documentation
[ChangeDisplaySettingsEx] on MSDN
.
Summary
.

    public enum ChangeDisplaySettingsFlags : uint

.

Public Enum ChangeDisplaySettingsFlags As UInteger

.

/// <param name="lpWindowName">Pointer to a null-terminated string that specifies the window name. If the window style specifies a title bar, the window title pointed to by lpWindowName is displayed in the title bar. When using CreateWindow to create controls, such as buttons, check boxes, and static controls, use lpWindowName to specify the text of the control. When creating a static control with the SS_ICON style, use lpWindowName to specify the icon name or identifier. To specify an identifier, use the syntax "#num". </param>

.

''' <param name="lpWindowName">Pointer to a null-terminated string that specifies the window name. If the window style specifies a title bar, the window title pointed to by lpWindowName is displayed in the title bar. When using CreateWindow to create controls, such as buttons, check boxes, and static controls, use lpWindowName to specify the text of the control. When creating a static control with the SS_ICON style, use lpWindowName to specify the icon name or identifier. To specify an identifier, use the syntax "#num". </param>

.

    ///<Summary>Displays the window.</Summary>

.

    '''<Summary>Displays the window.</Summary>

.

//Displays the id and name of the all the different data formats currently in the clipboard.

.
Summary
.

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

.

<DllImport("user32.dll", EntryPoint:="EnumDisplayDevices", CharSet:=CharSet.Auto, CallingConvention:=CallingConvention.StdCall)> _

.

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();

.

        for (uint id=0; EnumDisplayDevices(null, id, ref d, 0); id++) {

.

    Dim dispDev1 As New DISPLAY_DEVICE

.

    While (EnumDisplayDevices(vbNullString, i, dispDev1, &H0))

.

        EnumDisplayDevices(vbNullString, i, dispDev1, &H0)

.

        EnumDisplayDevices(dispDev1.DeviceName, 0, dispDev1, &H1)

.
Documentation
[EnumDisplayDevices] on MSDN
.
Summary
.

static extern bool EnumDisplayMonitors(IntPtr hdc, IntPtr lprcClip,

.

Private Shared Function EnumDisplayMonitors(ByVal hdc As IntPtr, ByVal lprcClip As IntPtr, ByVal lpfnEnum As EnumMonitorsDelegate, ByVal dwData As IntPtr) As Boolean

.

    /// The struct that contains the display information

.

    public class DisplayInfo

.

    /// Collection of display information

.

    public class DisplayInfoCollection : List<DisplayInfo>

.

    /// Returns the number of Displays using the Win32 functions

.

    /// <returns>collection of Display Info</returns>

.

    public DisplayInfoCollection GetDisplays()

.

    DisplayInfoCollection col = new DisplayInfoCollection();

.

    EnumDisplayMonitors( IntPtr.Zero, IntPtr.Zero,

.

            DisplayInfo di = new DisplayInfo();

.

Use System.Windows.Forms.Screen.AllScreens to get an array of all displays on the system.

.
Documentation
[EnumDisplayMonitors] on MSDN
.
Summary
.

static extern bool EnumDisplaySettingsEx(string lpszDeviceName, int iModeNum, ref DEVMODE lpDevMode, uint dwFlags);

.

Private Shared Function EnumDisplaySettingsEx(ByVal lpszDeviceName As String, ByVal iModeNum As UInteger, ByRef lpDevMode As DEVMODE, ByVal dwFlags As UInteger) As Boolean

.

See also: EnumDisplaySettings

.
Documentation
[EnumDisplaySettingsEx] on MSDN
.
Summary
.

static extern bool EnumDisplaySettingsEx(string lpszDeviceName, uint iModeNum, out DEVMODE lpDevMode, uint dwFlags);

.

Private Shared Function EnumDisplaySettingsEx(ByVal lpszDeviceName As String, ByVal iModeNum As UInteger, ByRef lpDevMode As DEVMODE, ByVal dwFlags As UInteger) As Boolean

.

See also: EnumDisplaySettings

.
Documentation
[EnumDisplaySettingsEx] on MSDN
.

//Displays the id and name of the all the different data formats currently in the clipboard.

24: GetDC
.

Retrieves a handle to a display device context (DC) for the client area of a specified window or for the entire screen.

.

Unless the display DC belongs to a window class, the ReleaseDC function must be called to release the DC after painting. Also, ReleaseDC must be called from the same thread that called GetDCEx. The number of DCs is limited only by available memory.

.

Unless the display DC belongs to a window class, the ReleaseDC function must be called to release the DC after painting. Also, ReleaseDC must be called from the same thread that called GetDCEx. The number of "DCs" is limited only by available memory.

.

Retrieves a handle to a display device context (DC) for the client area of a specified window or for the entire screen.

.

Unless the display DC belongs to a window class, the ReleaseDC function must be called to release the DC after painting. Also, ReleaseDC must be called from the same thread that called GetDCEx. The number of DCs is limited only by available memory.

.

Unless the display DC belongs to a window class, the ReleaseDC function must be called to release the DC after painting. Also, ReleaseDC must be called from the same thread that called GetDCEx. The number of "DCs" is limited only by available memory.

.

internal static extern bool EnumDisplayMonitors(IntPtr hdc, IntPtr lprcClip, MonitorEnumProc lpfnEnum, IntPtr dwData);

.

    EnumDisplayMonitors(IntPtr.Zero, IntPtr.Zero, MonitorEnumCallBack, IntPtr.Zero);

.

    public const int GMMP_USE_DISPLAY_POINTS     = 1;

.

    uint mode  = GMMP_USE_DISPLAY_POINTS;

.
Summary
Retrieves various system metrics of display elements and system configuration settings.
.

* System metrics may vary from display to display. Most values are returned in number of pixels, all others are flag or boolean values.

.

* GetSystemMetrics(SM_CMONITORS) counts only display monitors. This is different from EnumDisplayMonitors, which enumerates display monitors and also non-display pseudo-monitors.

.

The following example creates a new ListView control, and displays each member of the enumerator and it's return value. To use this example, paste it into the code (not the deigner code) file of a blank form. (ie, Form1.cs), if you have AIPCC installed you wont need to use the WindowsAPI class, instead it will be imported fron the AIP class library.

.

///     WS_VISIBLE[0x10000000L] is set, the window is displayed and subsequent drawing into it is displayed as long as the

.

///     not be displayed if the window is obscured by other windows or is clipped by its parent window.

.

The language for the text displayed in the message box button(s). Specifying a value of zero (0) indicates to display the button text in the default system language. If this parameter is MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL), the current language associated with the calling thread is used.

.

   private Shared Function DisplayMessageBox( _

.

     Public Function DisplayMessageBox( _

.

    DisplayMessageBox = MessageBoxTimeOut(hWnd, Message, Caption, MessageBoxOptions, 0, TimeOutMilliseconds)

.

The MONITORINFOEX structure contains information about a display monitor.

.

The MONITORINFOEX structure is a superset of the MONITORINFO structure. The MONITORINFOEX structure adds a string member to contain a name for the display monitor.

.

    /// The MONITORINFOEX structure contains information about a display monitor.

.

    /// for the display monitor.

.

    /// A RECT structure that specifies the display monitor rectangle, expressed in virtual-screen coordinates.

.

    /// Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.

.

    /// A RECT structure that specifies the work area rectangle of the display monitor that can be used by applications,

.

    /// Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.

.

    /// The attributes of the display monitor.

.

    /// A string that specifies the device name of the monitor being used. Most applications have no use for a display monitor name,

.

The MONITORINFOEX structure contains information about a display monitor.

.

The MONITORINFOEX structure is a superset of the MONITORINFO structure. The MONITORINFOEX structure adds a string member to contain a name for the display monitor.

.

    /// The MONITORINFOEX structure contains information about a display monitor.

.

    /// for the display monitor.

.

    /// A RECT structure that specifies the display monitor rectangle, expressed in virtual-screen coordinates.

.

    /// Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.

.

    /// A RECT structure that specifies the work area rectangle of the display monitor that can be used by applications,

.

    /// Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.

.

    /// The attributes of the display monitor.

.

    /// A string that specifies the device name of the monitor being used. Most applications have no use for a display monitor name,

.

http://www.microsoft.com/downloads/details.aspx?FamilyID=c6f140ce-3dfb-49c4-b365-2a79e799817a&displaylang=en

.
Summary
Sets the current process as dots per inch (dpi) aware. Call this before your application displays an UI to disable the scaling that Windows Vista would otherwise do to your application. A good place is just before you call Application.EnableVisualStyle(). It's also a good idea to ensure you're actually running on Vista before calling this, because you'll get an exception on downlevel platforms.
.
Summary
.

static extern bool SetWindowDisplayAffinity(IntPtr hwnd, DisplayAffinity affinity);

.

Declare Function SetWindowDisplayAffinity Lib "user32.dll" (hwnd As IntPtr, affinity As DisplayAffinity) As Boolean

.

enum DisplayAffinity : uint

.
Documentation
[SetWindowDisplayAffinity] on MSDN
.

    ///         <term>SWP_SHOWWINDOW (0x0040)</term><description>Displays the window.</description>

.

        ///     Displays the window.

.

///     0x09). Tab characters are displayed as vertical bar(|) characters.<br />For an example go to

.

The ShowCursor function displays or hides the cursor.

.

    [in] Specifies whether the internal display counter is to be incremented or decremented. If bShow is TRUE, the display count is incremented by one. If bShow is FALSE, the display count is decremented by one.

.

In the TextBox's Change event handler, use the PictureBox's TextHeight function to see how tall the text is. If the text is too big to fit in the TextBox, we need to display the scrollbar. If the need for the scrollbar has changed, use the ShowScrollBar API function to show or hide it.

.
Summary
Indicates that the system cannot be shut down and sets a reason string to be displayed to the user if system shutdown is initiated.
.

     ///<Summary>Display topic in ulTopic</Summary>

.

     ///<Summary>Display index</Summary>

.

     ///<Summary>Display help on using help</Summary>

.

     ///<Summary>Display topic for keyword in offabData</Summary>

.

     '''<Summary>Display topic in ulTopic</Summary>

.

     '''<Summary>Display index</Summary>

.

     '''<Summary>Display help on using help</Summary>

.

     '''<Summary>Display topic for keyword in offabData</Summary>

gdi32

.
Summary
This function displays bitmaps that have transparent or semitransparent pixels on Microsoft Mobile Os'es
43: BitBlt
.

BitBlt returns an error if the source and destination device contexts represent different devices. To transfer data between device contexts for different devices, convert the memory bitmap to a DIB by calling GetDIBits. To display the DIB to the second device, call SetDIBits or StretchDIBits.

.

        hdc = CreateDC("DISPLAY", null, null, IntPtr.Zero); // create a new dc,yeni bir dc yaratıyoruz.Yeni bir system dc si yaratıyoruz.

.

        GCP_DISPLAYZWG = 0x00400000,

.

        /// Current vertical refresh rate of the display device (for displays only) in Hz

.

    ''' Current vertical refresh rate of the display device (for displays only) in Hz

.

    IntPtr hdcScreen = CreateDC("Display", null, null, IntPtr.Zero);

.

[CharSet = CharSet.Auto] According to my experience this parameter should be used when using a LOGFONT structure and the CreateFontIndirect fuction, otherwise the selected font will not be displayed. All flags will be done (lfItalic, lfUnderline ...) but not the lfFaceName string.

hid

.

        DisplayException( MODULE_NAME, ex );

netapi32

.
Summary
The NetQueryDisplayInformation function returns user account, computer, or group account information. Call this function to quickly enumerate account information for display in user interfaces.
.

       extern static uint NetQueryDisplayInformation([MarshalAs(UnmanagedType.LPWStr)]

.

    Declare Function NetQueryDisplayInformation Lib "Netapi32.dll"

.

    Declare Function NetQueryDisplayInformation Lib "Netapi32.dll" _

.

lret = NetQueryDisplayInformation(strDomain, 3, lindex, 100, MAX_PREFERRED_LENGTH, out lread , out x);

.

        NET_DISPLAY_USER usr = new NET_DISPLAY_USER();

.

        int StructSize = Marshal.SizeOf(typeof(NET_DISPLAY_USER));

.

        lret = NetQueryDisplayInformation(DomainController, 1, lindex, reqRecs, MAX_PREFERRED_LENGTH, out lread, out UsrBuf);

.

                usr = (NET_DISPLAY_USER)Marshal.PtrToStructure(item, typeof(NET_DISPLAY_USER));

.

    public struct NET_DISPLAY_USER

.

    public    struct NET_DISPLAY_GROUP

.

    public struct NET_DISPLAY_MACHINE

.

    [DllImport("Netapi32.dll")]    static extern int NetQueryDisplayInformation([MarshalAs(UnmanagedType.LPWStr)] string serverName,

.

    NET_DISPLAY_GROUP grp = new NET_DISPLAY_GROUP ();

.

    NET_DISPLAY_USER usr = new NET_DISPLAY_USER();

.

        lret = NetQueryDisplayInformation(strDomain, 3, lindex, 1, 1024, out lread , out x);

.

                grp = (NET_DISPLAY_GROUP)Marshal.PtrToStructure (x, typeof(NET_DISPLAY_GROUP));

.

        lret = NetQueryDisplayInformation(strDomain, 1, lindex, 1, 1024, out lread , out x);

.

                usr = (NET_DISPLAY_USER)Marshal.PtrToStructure(x, typeof(NET_DISPLAY_USER));

.

    NET_DISPLAY_MACHINE mac = new NET_DISPLAY_MACHINE ();

.

        lret = NetQueryDisplayInformation(strDomain, 2, lindex, 1, 1024, out lread , out x);

.

                mac = (NET_DISPLAY_MACHINE) Marshal.PtrToStructure(x,typeof(NET_DISPLAY_MACHINE));

.
Documentation
[NetQueryDisplayInformation] on MSDN

comctl32

.
Summary
Displays the drag image at the specified position within the window.
.

/// Displays the drag image at the specified position within the window.

.

/// <param name="x">X-coordinate at which to display the drag image.

.

/// <param name="y">Y-coordinate at which to display the drag image.

.

''' Displays the drag image at the specified position within the window.

.

''' <param name="x">X-coordinate at which to display the drag image.

.

''' <param name="y">Y-coordinate at which to display the drag image.

.

/// <param name="x">X-coordinate at which to display the drag image.

.

/// <param name="y">Y-coordinate at which to display the drag image.

.

''' <param name="x">X-coordinate at which to display the drag image.

.

''' <param name="y">Y-coordinate at which to display the drag image.

.

    /// <summary>The TaskDialogIndirect function creates, displays, and operates a task dialog. The task dialog contains application-defined icons, messages, title, verification check box, command links, push buttons, and radio buttons. This function can register a callback function to receive notification messages.</summary>

.

    /// <param name="taskConfig">A pointer to a <see cref="TaskDialogConfig"/> structure that contains information used to display the task dialog.</param>

.

    /// <summary>The TaskDialogIndirect function creates, displays, and operates a task dialog. The task dialog contains application-defined icons, messages, title, verification check box, command links, push buttons, and radio buttons. This function can register a callback function to receive notification messages.</summary>

.

    /// <param name="taskConfig">A pointer to a <see cref="TaskDialogConfig"/> structure that contains information used to display the task dialog.</param>

Constants

.
DRIVER_PACKAGE_SILENT suppresses the display of user interface items. If a user interaction is required to complete an installation, the installation will fail.
.

    public static readonly Guid GUID_DEVCLASS_DISPLAY = new Guid("{0x4d36e968, 0xe325, 0x11ce, {0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18}}");

.

    public static Guid GUID_DEVINTERFACE_DISPLAY_ADAPTER = new Guid("5B45201D-F2F2-4F3B-85BB-30FF1F953599");

.

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

58: LR_
.

    /// This flag is useful for loading a bitmap without mapping it to the colors of the display device.

.

    ''' This flag is useful for loading a bitmap without mapping it to the colors of the display device.

59: MAPI
.

  /// A logon dialog box should be displayed to prompt the user for logon information.

.

  /// A dialog box should be displayed to prompt the user for recipients and other sending options.

.

  /// was displayed.

.

  /// was displayed.

.

    public static PropertyKey PKEY_DeviceClass_NoDisplayClass = new PropertyKey(0x259abffc, 0x50a7, 0x47ce, 0xaf, 0x8, 0x68, 0xc9, 0xa7, 0xd7, 0x33, 0x66, 8);  // DEVPROP_TYPE_BOOLEAN

.

    public static PropertyKey PKEY_ItemFolderNameDisplay = new PropertyKey( 0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC, 2);

.

    public static PropertyKey PKEY_ItemFolderPathDisplay = new PropertyKey( 0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD, 6);

.

    public static PropertyKey PKEY_ItemFolderPathDisplayNarrow = new PropertyKey( 0xDABD30ED, 0x0043, 0x4789, 0xA7, 0xF8, 0xD0, 0x13, 0xA4, 0x73, 0x66, 0x22, 100);

.

    public static PropertyKey PKEY_ItemNameDisplay = new PropertyKey( 0xB725F130, 0x47EF, 0x101A, 0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC, 10);

.

    public static PropertyKey PKEY_ItemPathDisplay = new PropertyKey( 0xE3E0584C, 0xB788, 0x4A5A, 0xBB, 0x20, 0x7F, 0x5A, 0x44, 0xC9, 0xAC, 0xDD, 7);

.

    public static PropertyKey PKEY_ItemPathDisplayNarrow = new PropertyKey( 0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0, 8);

.

    public static PropertyKey PKEY_DeviceDisplay_Address = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000033);  // VT_LPWSTR or VT_LPWSTR | VT_VECTOR

.

    public static PropertyKey PKEY_DeviceDisplay_DiscoveryMethod = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000034);  // VT_LPWSTR | VT_VECTOR

.

    public static PropertyKey PKEY_DeviceDisplay_IsEncrypted = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000035);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_IsAuthenticated = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000036);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_IsConnected = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000037);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_IsPaired = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000038);  // VT_BOOL

.

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

.

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

.

    public static PropertyKey PKEY_DeviceDisplay_Last_Seen = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000042);  // VT_FIELTIME

.

    public static PropertyKey PKEY_DeviceDisplay_Last_Connected = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000043);  // VT_FILETIME

.

    public static PropertyKey PKEY_DeviceDisplay_IsShowInDisconnectedState = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000044);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_IsLocalMachine = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000046);  // VT_BOOL

.

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

.

    public static PropertyKey PKEY_DeviceDisplay_IsMetadataSearchInProgress = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000048);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_MetadataChecksum = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000049);  // VT_UI1 | VT_VECTOR

.

    public static PropertyKey PKEY_DeviceDisplay_IsNotInterestingForDisplay = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x0000004A);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_LaunchDeviceStageOnDeviceConnect = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x0000004C);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_LaunchDeviceStageFromExplorer = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x0000004D);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_BaselineExperienceId = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x0000004E);  // VT_CLSID

.

    public static PropertyKey PKEY_DeviceDisplay_IsDeviceUniquelyIdentifiable = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x0000004F);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_AssociationArray = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000050);  // VT_LPWSTR  | VT_VECTOR

.

    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_IsNotWorkingProperly = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000053);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_IsSharedDevice = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000054);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_IsNetworkDevice = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000055);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_IsDefaultDevice = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000056);  // VT_BOOL

.

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

.

    public static PropertyKey PKEY_DeviceDisplay_RequiresPairingElevation = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000058);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_ExperienceId = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000059);  // VT_CLSID

.

    public static PropertyKey PKEY_DeviceDisplay_Category = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x0000005A);  // VT_LPWSTR | VT_VECTOR

.

    public static PropertyKey PKEY_DeviceDisplay_Category_Desc_Singular = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x0000005B);  // VT_LPWSTR | VT_VECTOR

.

    public static PropertyKey PKEY_DeviceDisplay_Category_Desc_Plural = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x0000005C);  // VT_LPWSTR | VT_VECTOR

.

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

.

    public static PropertyKey PKEY_DeviceDisplay_CategoryGroup_Desc = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x0000005E);  // VT_LPWSTR | VT_VECTOR

.

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

.

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

.

    public static PropertyKey PKEY_DeviceDisplay_UnpairUninstall = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000062);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_RequiresUninstallElevation = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000063);  // VT_BOOL

.

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

.

    public static PropertyKey PKEY_DeviceDisplay_AlwaysShowDeviceAsConnected = new PropertyKey(0x78c34fc8, 0x104a, 0x4aca, 0x9e, 0xa4, 0x52, 0x4d, 0x52, 0x99, 0x6e, 0x57, 0x00000065);  // VT_BOOL

.

    public static PropertyKey PKEY_DeviceDisplay_FriendlyName = new PropertyKey(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD, 0x00003000);  // VT_LPWSTR

.

    public static PropertyKey PKEY_DeviceDisplay_Manufacturer = new PropertyKey(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD, 0x00002000);  // VT_LPWSTR

.

    public static PropertyKey PKEY_DeviceDisplay_ModelName = new PropertyKey(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD, 0x00002002);  // VT_LPWSTR (localizable)

.

    public static PropertyKey PKEY_DeviceDisplay_ModelNumber = new PropertyKey(0x656A3BB3, 0xECC0, 0x43FD, 0x84, 0x77, 0x4A, 0xE0, 0x40, 0x4A, 0x96, 0xCD, 0x00002003);  // VT_LPWSTR

.

    public static PropertyKey PKEY_DeviceDisplay_InstallInProgress = new PropertyKey(0x83da6326, 0x97a6, 0x4088, 0x94, 0x53, 0xa1, 0x92, 0x3f, 0x57, 0x3b, 0x29, 9);     // DEVPROP_TYPE_BOOLEAN

.

    public static PropertyKey PKEY_WNET_DisplayType = new PropertyKey(0xdebda43a, 0x37b3, 0x4383, 0x91, 0xE7, 0x44, 0x98, 0xda, 0x29, 0x95, 0xab, 0x00000003); // VT_UINT

.

    public static PropertyKey PKEY_Hardware_DisplayAttribute = new PropertyKey(0x5EAF3EF2, 0xE0CA, 0x4598, 0xBF, 0x06, 0x71, 0xED, 0x1D, 0x9D, 0xD9, 0x53, 5);

.

    public static PropertyKey WPD_OBJECT_HINT_LOCATION_DISPLAY_NAME = new PropertyKey(0xEF6B490D, 0x5CD8, 0x437A, 0xAF, 0xFC, 0xDA, 0x8B, 0x60, 0xEE, 0x4A, 0x3C, 25);

.

    public static PropertyKey WPD_CONTACT_DISPLAY_NAME = new PropertyKey(0xFBD4FDAB, 0x987D, 0x4777, 0xB3, 0xF9, 0x72, 0x61, 0x85, 0xA9, 0x31, 0x2B, 2);

.

    public static PropertyKey PKEY_DisplayName        = new PropertyKey("{B725F130-47EF-101A-A5F1-02608C9EEBAC}",10);

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: