Desktop Functions: Smart Device Functions:
|
Search Results for "DISPLAY" in [All]imm32mapi322: MAPIDetails
/// The MAPIDetails function displays a dialog box containing the details of a selected address list entry. hhctrl3: HtmlHelp
HH_DISPLAY_TOPIC = 0,
HH_DISPLAY_TOC = 1,
HH_DISPLAY_INDEX = 2,
HH_DISPLAY_SEARCH = 3,
HH_DISPLAY_TEXT_POPUP = 0x000E,
HH_DISPLAY_TOPIC = 0
HH_DISPLAY_TOC = 1
HH_DISPLAY_INDEX = 2
HH_DISPLAY_SEARCH = 3
HTMLHelp(Nothing, filePath, HTMLHelpCommand.HH_DISPLAY_TOC, 0)
HtmlHelp(IntPtr.Zero, filePath, HTMLHelpCommand.HH_DISPLAY_TOC, 0)
HtmlHelp(IntPtr.Zero, null, HTMLHelpCommand.HH_DISPLAY_TEXT_POPUP, param); hid
DisplayException( MODULE_NAME, ex ); credui
''' 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"; kernel32
// http://pinvoke.net/default.aspx/kernel32/GetConsoleDisplayMode.html
static extern bool GetConsoleDisplayMode(
// http://pinvoke.net/default.aspx/kernel32/SetConsoleDisplayMode.html
static extern bool SetConsoleDisplayMode(
VideoQueryDisplayBrightness = (EFileDevice.Video << 16) | (0x0126 << 2) | EMethod.Buffered | (0 << 14),
VideoSetDisplayBrightness = (EFileDevice.Video << 16) | (0x0127 << 2) | EMethod.Buffered | (0 << 14)
DoGetLocaleInfo("", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo(null, LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("en-US", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("tlh-piqad", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("fj-FJ", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("fj", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("haw-US", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("hasdfasdf", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
LOCALE_SLOCALIZEDDISPLAYNAME =0x00000002, // localized name of locale, eg "German (Germany)" in UI language
LOCALE_SENGLISHDISPLAYNAME =0x00000072, // Display name (language + country usually) in English, eg "German (Germany)"
LOCALE_SNATIVEDISPLAYNAME =0x00000073, // Display name in native locale language, eg "Deutsch (Deutschland)
LOCALE_SLOCALIZEDLANGUAGENAME =0x0000006f, // Language Display Name for a language, eg "German" in UI language
DoGetLocaleInfo("", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo(null, LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("en-US", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("tlh-piqad", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("fj-FJ", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("fj", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("haw-US", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
DoGetLocaleInfo("hasdfasdf", LCTYPE.LOCALE_SENGLISHDISPLAYNAME);
LOCALE_SLOCALIZEDDISPLAYNAME =0x00000002, // localized name of locale, eg "German (Germany)" in UI language
LOCALE_SENGLISHDISPLAYNAME =0x00000072, // Display name (language + country usually) in English, eg "German (Germany)"
LOCALE_SNATIVEDISPLAYNAME =0x00000073, // Display name in native locale language, eg "Deutsch (Deutschland)
LOCALE_SLOCALIZEDLANGUAGENAME =0x0000006f, // Language Display Name for a language, eg "German" in UI language
/* Retrieves the display mode of the current console. */
internal static extern BOOL GetConsoleDisplayMode(
Declare Function GetConsoleDisplayMode Lib "kernel32.dll" (TODO) As TODO 13: GetLocaleInfo
LOCALE_SLOCALIZEDDISPLAYNAME =0x00000002, // localized name of locale, eg "German (Germany)" in UI language
LOCALE_SENGLISHDISPLAYNAME =0x00000072, // Display name (language + country usually) in English, eg "German (Germany)"
LOCALE_SNATIVEDISPLAYNAME =0x00000073, // Display name in native locale language, eg "Deutsch (Deutschland)
LOCALE_SLOCALIZEDLANGUAGENAME =0x0000006f, // Language Display Name for a language, eg "German" in UI language
result = LocaleFunctions.GetLocaleInfoEx("en-US", LCTYPE.LOCALE_SENGLISHDISPLAYNAME, data, 500); 14: GetLocaleInfoEx
LOCALE_SLOCALIZEDDISPLAYNAME =0x00000002, // localized name of locale, eg "German (Germany)" in UI language
LOCALE_SENGLISHDISPLAYNAME =0x00000072, // Display name (language + country usually) in English, eg "German (Germany)"
LOCALE_SNATIVEDISPLAYNAME =0x00000073, // Display name in native locale language, eg "Deutsch (Deutschland)
LOCALE_SLOCALIZEDLANGUAGENAME =0x0000006f, // Language Display Name for a language, eg "German" in UI language
result = LocaleFunctions.GetLocaleInfoEx("en-US", LCTYPE.LOCALE_SENGLISHDISPLAYNAME, data, 500); 15: GetLongPathName The short name can be used without problem to open files so the only time you would need to use GetLongPathName is if you want to display the path or want to display the file name.
static void DisplayUserPref()
static void DisplayUserPref() private void DisplayMemory() private void DisplayMemory() Sends a string to the debugger for display. Get DebugView here (http://www.sysinternals.com/Utilities/DebugView.html) to display the output of OutputDebugString.
static extern bool SetConsoleDisplayMode(
Declare Function SetConsoleDisplayMode Lib "kernel32.dll" (TODO) As TODO
// It's best to use SetColor for the purpose of choosing the 16 colors you want the console to be able to display, then use You can create this FileAttributes type to go in your class and be used with the alternative signature if you wish (or you can use the System.IO.FileAttributes as displayed in the below example): 24: SetLocalTime Note that on XP although in the background the time changes, the time displayed often does not change. I am yet to discover why and how to fix this
ES_DISPLAY_REQUIRED = 0x00000002,
Also note that this setting is per thread/application not global, so if you go to ES_CONTINUOUS and another app/thread is still setting ES_DISPLAY the display will be kept on.
SetThreadExecutionState(EXECUTION_STATE.ES_DISPLAY_REQUIRED | EXECUTION_STATE.ES_CONTINUOUS); You can download Mdbg at http://www.microsoft.com/downloads/details.aspx?familyid=38449a42-6b7a-4e28-80ce-c55645ab1310&displaylang=en and get the wrappers there. opengl32
GLU_DISPLAY_MODE = 100204, Structures28: BROWSEINFO
public IntPtr pszDisplayName;
<MarshalAs(UnmanagedType.LPTStr)>Public pszDisplayName As String
pszDisplayName As String 29: CAPTUREPARMS
/// 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 31: DESKBANDINFO
/// The band object is displayed with a sunken appearance.
/// The band will be displayed with the background color specified in crBkgnd. 32: DEVMODE
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; 33: DISPLAY
public struct DISPLAY_DEVICE
public DisplayDeviceStateFlags StateFlags;
Public Structure DISPLAY_DEVICE
Public StateFlags As DisplayDeviceStateFlags Used with EnumDisplayDevices 34: DISPLAY_DEVICE
public struct DISPLAY_DEVICE
public DisplayDeviceStateFlags StateFlags;
Public Structure DISPLAY_DEVICE
Public StateFlags As DisplayDeviceStateFlags Used with EnumDisplayDevices
public string pDisplayName;
EnableMultiBatteryDisplay = 0x02,
EnableVideoDimDisplay = 0x10,
EnableMultiBatteryDisplay = &H2
EnableVideoDimDisplay = &H10
public string lpDisplayName; 38: INSTALLERINFO
[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. 39: MAPI
/// Pointer to the display name of the message recipient or sender.
''' Pointer to the display name of the message recipient or sender. 40: NETRESOURCE
public ResourceDisplayType dwDisplayType;
Public dwDisplayType As ResourceDisplayType ResourceScope, ResourceType, ResourceDisplayType, ResourceUsage 41: NET_DISPLAY_USER 42: OpenFileName
''' 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 43: SHFILEINFO
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. 44: 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(); secur3245: GetUserNameEx
/// 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.... 47: TranslateName
NameDisplay = 3, Interfaces48: IAutoComplete2
/// display the autosuggest drop-down list.</summary>
/// <summary>Normal windows display text left-to-right
/// (LTR). Windows can be mirrored to display languages
/// Typically, control text is displayed in the same
/// filtering when displaying the autosuggest dropdown.
/// Always display all suggestions.</summary> 49: IDeskBand
''' Title of band object. Displayed at the left or on top of the band object. ''' Specifies Style of the band object, its Name(displayed in explorer menu) and HelpText(displayed in status bar when menu command selected). 50: IDeskBand2
''' Title of band object. Displayed at the left or on top of the band object. ''' Specifies Style of the band object, its Name(displayed in explorer menu) and HelpText(displayed in status bar when menu command selected).
public string DisplayName;
public string HyperlinkDisplayText
ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.GetHyperlinkDisplayText),typeof(string)),CultureInfo.CurrentCulture
/// <param name="text">Text to display for the hyperlink</param> 53: IOleContainer
// IParseDisplayName.
int ParseDisplayName([In, MarshalAs(UnmanagedType.Interface)] IBindCtx pbc,
[In, MarshalAs(UnmanagedType.LPWStr)] string pszDisplayName, I include the methods from the inherited IParseDisplayName interface because .Net's COM interop will not properly handle interface inheritance.
// IParseDisplayName.
int ParseDisplayName([In, MarshalAs(UnmanagedType.Interface)] IBindCtx pbc,
[In, MarshalAs(UnmanagedType.LPWStr)] string pszDisplayName, I include the methods from the inherited IParseDisplayName and IOleContainer interfaces because .Net's COM interop will not properly handle interface inheritance.
public interface IParseDisplayName
int ParseDisplayName([In, MarshalAs(UnmanagedType.Interface)] IBindCtx pbc,
[In, MarshalAs(UnmanagedType.LPWStr)] string pszDisplayName, 56: IProgressDialog
/// Displays a message in the progress dialog.
/// <param name="dwLineNum">The line number on which the text is to be displayed. Currently there are three lines—1, 2, and 3. If the PROGDLG_AUTOTIME flag was included in the dwFlags parameter when IProgressDialog::StartProgressDialog was called, only lines 1 and 2 can be used. The estimated time will be displayed on line 3.</param>
/// <remarks>This function is typically used to display a message such as "Item XXX is now being processed." typically, messages are displayed on lines 1 and 2, with line 3 reserved for the estimated time.</remarks>
/// Sets a message to be displayed if the user cancels the operation.
/// <param name="pwzCancelMsg">A pointer to a null-terminated Unicode string that contains the message to be displayed.</param>
/// immediate feedback by clearing text lines 1 and 2 and displaying the cancel message on line 3. 57: IPStore
[MarshalAs(UnmanagedType.LPWStr)] public string szDisplayName; 58: IQueryInfo 59: IShellFolder
/// Translates a file object's or folder's display name into an item identifier list.
/// <param name="pszDisplayName">Null-terminated UNICODE string with the display name</param>
/// <param name="pchEaten">Pointer to a ULONG value that receives the number of characters of the display name that was parsed.</param>
void ParseDisplayName(IntPtr hwnd, IntPtr pbc, String pszDisplayName, UInt32 pchEaten, out IntPtr ppidl, UInt32 pdwAttributes);
/// <param name="hwndOwner">Handle to the owner window that the client should specify if it displays a dialog box or message box.</param>
/// Retrieves the display name for the specified file object or subfolder.
/// <param name="uFlags">Flags used to request the type of display name to return. For a list of possible values. </param>
/// <param name="pName"> Address of a STRRET structure in which to return the display name.</param>
void GetDisplayNameOf(IntPtr pidl, ESHGDN uFlags, out STRRET pName);
/// Sets the display name of a file object or subfolder, changing the item
/// <param name="hwnd"> Handle to the owner window of any dialog or message boxes that the client displays.</param>
/// <param name="pszName"> Pointer to a null-terminated string that specifies the new display name.</param> 60: IShellView
/// In the case of an error, the view should fail silently rather than displaying a UI.
/// The folder flags are used to specify how the control displays its content.
/// <summary>The view should not display icons.</summary>
/// <summary>The view should not display file names.</summary>
/// <summary>Windows Vista and later: Do not display filters in the view.</summary>
/// <summary>Windows Vista and later: Do not display a column header in the view in any view mode.</summary>
/// <summary>Windows Vista and later: The view should list the number of items displayed in each group. To be used with IFolderView2::SetGroupSubsetCount.</summary>
/// <summary>The view should display medium-size icons.</summary>
/// <summary>The view should display thumbnail icons.</summary>
/// <summary>The view should display large icons.</summary>
/// Windows 7 and later. The view should display content mode. Cut off search results after 60. Please refine your search. |