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]

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

4: 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.

5: 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);

.

const UInt32 RESOURCEDISPLAYTYPE_GENERIC = 0x00000000;

.

const UInt32 RESOURCEDISPLAYTYPE_DOMAIN = 0x00000001;

.

const UInt32 RESOURCEDISPLAYTYPE_SERVER = 0x00000002;

.

const UInt32 RESOURCEDISPLAYTYPE_SHARE = 0x00000003;

.

const UInt32 RESOURCEDISPLAYTYPE_FILE = 0x00000004;

.

const UInt32 RESOURCEDISPLAYTYPE_GROUP = 0x00000005;

.

const UInt32 RESOURCEDISPLAYTYPE_TREE = 0x0000000A;

.

    public const int SHGFI_DISPLAYNAME       = 0x000000200;     // get display name

.

    public const int SHGFI_DISPLAYNAME       = 0x000000200;     // get display name

.

        /// The name is already in use as either a service name or a service display name.

.

        /// The remote control of the console was terminated because the display mode was changed. Changing the display mode in a remote control session is not supported.

.

        /// Schema update failed: duplicate LDAP display name.

.

        public const int ERROR_DS_DUP_LDAP_DISPLAY_NAME = 8382;

.

        /// The LDAP display name of the class or attribute contains non-ASCII characters.

.

        public const int ERROR_DS_INVALID_LDAP_DISPLAY_NAME = 8479;

.

        /// Message is too long; some of it had to be truncated before displaying

.

        /// Message is too long; some of it had to be truncated before displaying

11: WM
.
WM_ASKCBFORMATNAME 0x30C The WM_ASKCBFORMATNAME message is sent to the clipboard owner by a clipboard viewer window to request the name of a CF_OWNERDISPLAY clipboard format.
.
WM_CANCELMODE 0x1F The WM_CANCELMODE message is sent to cancel certain modes, such as mouse capture. For example, the system sends this message to the active window when a dialog box or message box is displayed. Certain functions also send this message explicitly to the specified window regardless of whether it is the active window. For example, the EnableWindow function sends this message when disabling the specified window.
.
WM_CTLCOLORDLG 0x136 The WM_CTLCOLORDLG message is sent to a dialog box before the system draws the dialog box. By responding to this message, the dialog box can set its text and background colors using the specified display device context handle.
.
WM_CTLCOLORLISTBOX 0x134 Sent to the parent window of a list box before the system draws the list box. By responding to this message, the parent window can set the text and background colors of the list box by using the specified display device context handle.
.
WM_CTLCOLORMSGBOX 0x132 The WM_CTLCOLORMSGBOX message is sent to the owner window of a message box before Windows draws the message box. By responding to this message, the owner window can set the text and background colors of the message box by using the given display device context handle.
.
WM_CTLCOLORSCROLLBAR 0x137 The WM_CTLCOLORSCROLLBAR message is sent to the parent window of a scroll bar control when the control is about to be drawn. By responding to this message, the parent window can use the display context handle to set the background color of the scroll bar control.
.
WM_DISPLAYCHANGE 0x7E The WM_DISPLAYCHANGE message is sent to all windows when the display resolution has changed.
.
WM_DRAWCLIPBOARD 0x308 The WM_DRAWCLIPBOARD message is sent to the first window in the clipboard viewer chain when the content of the clipboard changes. This enables a clipboard viewer window to display the new content of the clipboard.
.
WM_GETICON 0x7F The WM_GETICON message is sent to a window to retrieve a handle to the large or small icon associated with a window. The system displays the large icon in the ALT+TAB dialog, and the small icon in the window caption.
.
WM_HSCROLLCLIPBOARD 0x30E The WM_HSCROLLCLIPBOARD message is sent to the clipboard owner by a clipboard viewer window. This occurs when the clipboard contains data in the CF_OWNERDISPLAY format and an event occurs in the clipboard viewer's horizontal scroll bar. The owner should scroll the clipboard image and update the scroll bar values.
.
WM_INITDIALOG 0x110 The WM_INITDIALOG message is sent to the dialog box procedure immediately before a dialog box is displayed. Dialog box procedures typically use this message to initialize controls and carry out any other initialization tasks that affect the appearance of the dialog box.
.
WM_INITMENU 0x116 The WM_INITMENU message is sent when a menu is about to become active. It occurs when the user clicks an item on the menu bar or presses a menu key. This allows the application to modify the menu before it is displayed.
.
WM_INITMENUPOPUP 0x117 The WM_INITMENUPOPUP message is sent when a drop-down menu or submenu is about to become active. This allows an application to modify the menu before it is displayed, without changing the entire menu.
.
WM_PAINTCLIPBOARD 0x309 The WM_PAINTCLIPBOARD message is sent to the clipboard owner by a clipboard viewer window when the clipboard contains data in the CF_OWNERDISPLAY format and the clipboard viewer's client area needs repainting.
.
WM_QUERYDRAGICON 0x37 The WM_QUERYDRAGICON message is sent to a minimized (iconic) window. The window is about to be dragged by the user but does not have an icon defined for its class. An application can return a handle to an icon or cursor. The system displays this cursor or icon while the user drags the icon.
.
WM_SETICON 0x80 An application sends the WM_SETICON message to associate a new large or small icon with a window. The system displays the large icon in the ALT+TAB dialog box, and the small icon in the window caption.
.
WM_SIZECLIPBOARD 0x30B The WM_SIZECLIPBOARD message is sent to the clipboard owner by a clipboard viewer window when the clipboard contains data in the CF_OWNERDISPLAY format and the clipboard viewer's client area has changed size.
.
WM_VSCROLLCLIPBOARD 0x30A The WM_VSCROLLCLIPBOARD message is sent to the clipboard owner by a clipboard viewer window when the clipboard contains data in the CF_OWNERDISPLAY format and an event occurs in the clipboard viewer's vertical scroll bar. The owner should scroll the clipboard image and update the scroll bar values.
.

private const UInt32 WM_DISPLAYCHANGE      = 0x007E;

.

   WM_DISPLAYCHANGE = &H7E

.

WM_DISPLAYCHANGE      equ 07Eh

mqrt

.

                //Something else went wrong. Display error, and then exit.

.

                //Something else went wrong. Display error, and then exit.

odbccp32

.

Using the value of this.Handle from within a Windows Forms application's form control will cause SQLConfigDataSource to display a dialog to the user that is pre-populated with the provided attribute values.

.

        /// <param name="hwndParent">Parent window handle. The function will not display

advapi32

.
Summary
The ConvertSidToStringSid function converts a security identifier (SID) to a string format suitable for display, storage, or transmission.
.

    string lpDisplayName,

.

                ByVal displayName As String, ByVal desiredAccess As Int32, ByVal serviceType As Int32, _

.

    Dim displayName As String = "AAATestDisplayName"

.

    Dim serviceHandle As IntPtr = CreateService(scHandle, serviceName, displayName, SERVICE_ALL_ACCESS, SERVICE_WIN32_OWN_PROCESS, _

.

     internal string pDisplayName;

.
Summary
Returns the display name for a privilege when provided with the system name.
.

static extern bool LookupPrivilegeDisplayName(

.

    System.Text.StringBuilder displayName,  // out

.

    ref uint cbDisplayName,

.

Declare Function LookupPrivilegeDisplayName Lib "advapi32.dll" (TODO) As TODO

.

This is one of those "call twice" functions, so this error is just daily life. When it returns with this error, the byte count (cbDisplayName) will be set to what you need. Call EnsureCapacity on your StringBuilder and go round again.

.
Documentation
[LookupPrivilegeDisplayName] on MSDN
.

        // Use the service name and *NOT* the display name.

.

        string serviceName = "Dnscache"; // Display name is "DNS Client"

.

        // Use the service name and *NOT* the display name.

.

        string serviceName = "Dnscache"; // Display name is "DNS Client"

msi

.

            INSTALLMESSAGE_SHOWDIALOG = 0x0E000000 // sent prior to display or authored dialog or wizard

.

            INSTALLUILEVEL_ENDDIALOG    = 0x80, // display success/failure dialog at end of install

.

            INSTALLUILEVEL_PROGRESSONLY = 0x40, // display only progress dialog

.

            INSTALLUILEVEL_HIDECANCEL   = 0x20, // do not display the cancel button in basic UI

.

            INSTALLUILEVEL_SOURCERESONLY = 0x100, // force display of source resolution even if quiet

.

            INSTALLMESSAGE_SHOWDIALOG = 0x0E000000 // sent prior to display or authored dialog or wizard

.

The MsiInstallProduct function displays the user interface with the current settings and log mode.

.

    INSTALLUILEVEL_ENDDIALOG    = 0x80, // display success/failure dialog at end of install

.

    INSTALLUILEVEL_PROGRESSONLY = 0x40, // display only progress dialog

.

    INSTALLUILEVEL_HIDECANCEL   = 0x20, // do not display the cancel button in basic UI

.

    INSTALLUILEVEL_SOURCERESONLY = 0x100, // force display of source resolution even if quiet

ole32

.

    CF_OWNERDISPLAY = 0x80,

.
Summary
Converts a display name into a moniker that identifies the object named, and then binds to the object identified by the moniker.
.
Summary
.

static extern int MkParseDisplayName(UCOMIBindCtx pbc,

.

    /// <param name="szUserName">A pointer to the display name to be parsed.</param>

.

    int MkParseDisplayName(IBindCtx pbc, string szUserName, ref int pchEaten, out IMoniker ppmk);

.
Documentation
[MkParseDisplayName] on MSDN
.

        ///  Show the property page. Some property pages cannot be displayed

rasapi32

.
Summary
The RasDialDlg function establishes a RAS connection using a specified phone-book entry and the credentials of the logged-on user. The function displays a stream of dialog boxes that indicate the state of the connection operation.
.
Summary
The RasDialDlg function establishes a RAS connection using a specified phone-book entry and the credentials of the logged-on user. The function displays a stream of dialog boxes that indicate the state of the connection operation.

wininet

.

An application that needs to display multiline text information sent by an FTP server can use InternetGetLastResponseInfo to retrieve the text.

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.

35: GetDC
.
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

secur32

.

     /// A "friendly" display name (for example, Jeff Smith).

.

     /// The display name is not necessarily the defining relative distinguished name (RDN).

.

     NameDisplay = 3,

.

     NameDisplay = 3,

.

    NameDisplay = 3

.

      //do something with the extracted data, ie, add to a display control....

.

          NameDisplay = 3,

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

Structures

.

    public IntPtr pszDisplayName;

.

     <MarshalAs(UnmanagedType.LPTStr)>Public pszDisplayName As String

.

    pszDisplayName As String

.

        /// User-initiated capture flag. If this member is TRUE, AVICap displays a dialog box prompting

.

        ''' User-initiated capture flag. If this member is TRUE, AVICap displays a dialog box prompting

.
Summary
.

    ///     The band object is displayed with a sunken appearance.

.

    ///     The band will be displayed with the background color specified in crBkgnd.

.
Summary
Contains information about the initialization and environment of a printer or a display device.
.

    public Int32 dmDisplayOrientation;

.

    public Int32 dmDisplayFixedOutput;

.

    public Int32 dmDisplayFlags;

.

    public Int32 dmDisplayFrequency;

.

    Public dmDisplayFlags As Integer

.

    Public dmDisplayFrequency As Integer

.

Since the DEVMODE members beyond dmDisplayFrequency do not have to be declared, the structure can vary in size. You should set dmSize to effective size of your implemetation before calling API functions:

.

    public Int32 dmDisplayOrientation;

.

    public Int32 dmDisplayFixedOutput;

.

    public Int32 dmDisplayFlags;    

.

    public Int32 dmDisplayFrequency;

.
Summary
.

public struct DISPLAY_DEVICE

.

      public DisplayDeviceStateFlags StateFlags;

.

Public Structure DISPLAY_DEVICE

.

    Public StateFlags As DisplayDeviceStateFlags

.

DisplayDeviceStateFlags

.

Used with EnumDisplayDevices

.
Documentation
[DISPLAY_DEVICE] on MSDN
.
Summary
.

public struct DISPLAY_DEVICE

.

      public DisplayDeviceStateFlags StateFlags;

.

Public Structure DISPLAY_DEVICE

.

    Public StateFlags As DisplayDeviceStateFlags

.

DisplayDeviceStateFlags

.

Used with EnumDisplayDevices

.
Documentation
[DISPLAY_DEVICE] on MSDN
.

     public string pDisplayName;

.

   EnableMultiBatteryDisplay = 0x02,

.

   EnableVideoDimDisplay     = 0x10,

.

   EnableMultiBatteryDisplay = &H2

.

   EnableVideoDimDisplay = &H10

.

        public string lpDisplayName;

.

    [MarshalAs(UnmanagedType.LPTStr)] public string pDisplayName;

.

    Public pDisplayName As String

.

pDisplayName: a string that supplies the display name of an application that is associated with a driver package. DIFxAPI requires an application display name to inform a user which application is associated with a driver package. For example, if a user clicks on the Remove button of an Add or Remove Programs entry that was created by the DIFx tools to represent a driver package, the resulting user dialog box will list the display names of the applications that are associated with the driver package. If a caller supplies an INSTALLERINFO structure that specifies an association between an application and a driver package, this member must not be NULL or supply an empty string.

55: MAPI
.

    /// Pointer to the display name of the message recipient or sender.

.

    ''' Pointer to the display name of the message recipient or sender.

.

    public ResourceDisplayType dwDisplayType;

.

    Public dwDisplayType As ResourceDisplayType

.

ResourceScope, ResourceType, ResourceDisplayType, ResourceUsage

.
Summary
The NET_DISPLAY_USER structure contains information that an account manager can access to determine information about user accounts.
.

struct NET_DISPLAY_USER {

.

Structure NET_DISPLAY_USER

.
Documentation
[NET_DISPLAY_USER] on MSDN
.

    ''' The first string is your display string that describes the custom filter,

.

    ''' When the user selects a file, nFilterIndex returns the index of the currently displayed

.

    public string szDisplayName;

.

    Public szDisplayName As String

.

szDisplayName

.

Changed from Definition to Signature in order to display them in the PInvoke.net Visual Studio Add-In.

60: STRRET
.

     public IntPtr pOleStr;    // must be freed by caller of GetDisplayNameOf

.

     <FieldOffset(4)> Public pOleStr As IntPtr   'must be freed by caller of GetDisplayNameOf

.

// Structure used to return the display name to

.

STRRET pDisplayName;

.

String DisplayName;

.

pDisplayName.uType = (uint)STRRET_TYPE.STRRET_CSTR;

.

// Get the "normal" display name.

.

iShellFolder.GetDisplayNameOf(pidlItems[0], SHGNO.SHGDN_NORMAL,

.

         out pDisplayName);

.

System.Text.StringBuilder sbDisplayName = new System.Text.StringBuilder(256);

.

// Get the display name from the STRRET structure

.

WindowsAPI.StrRetToBuf(ref pDisplayName, pidlItems[0],

.

        sbDisplayName, (uint)sbDisplayName.Capacity);

.

DisplayName = sbDisplayName.ToString();

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


 
Access PInvoke.net directly from VS: