Desktop Functions: Smart Device Functions:
|
Search Results for "Command" in [All]printuiGet available commands in dialup box comctl322: TaskDialog
/// <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>
/// <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> dhcpsapi
SqlCommand selCommand = new SqlCommand(strSQL, sqlConnection1);
selCommand.CommandType = CommandType.Text;
SqlDataReader rowReader = selCommand.ExecuteReader(); shell32
static extern IntPtr CommandLineToArgvW(
Declare Function CommandLineToArgv Lib "shell32.dll" Alias "CommandLineToArgvW" ( _
ptrToSplitArgs = CommandLineToArgvW(unsplitArgumentLine, out numberOfArgs);
// CommandLineToArgvW returns NULL upon failure.
// Free memory obtained by CommandLineToArgW.
static extern IntPtr CommandLineToArgvW(
public enum ShowCommands : int
static extern UInt32 SHSetUnreadMailCount(string pszMailAddress, UInt32 dwCount, string pszShellExecuteCommand);
Public Shared Function SHSetUnreadMailCount(ByVal pszMailAddress As String, ByVal dwCount As Integer, ByVal pszShellExecuteCommand As String) As Integer msi10: MsiApplyPatch
static extern UInt32 MsiApplyPatch(string patchPackage, string installPackage, INSTALLTYPE installType, string commandLine);
commandLine
Specifies command line property settings
static extern UInt32 MsiInstallProduct(string packagePath, string commandLine);
Declare Function MsiInstallProduct Lib "msi.dll" (packagePath As String, commandLine As String) As UInt32 szCommandLine A null-terminated string that specifies the command line property settings. This should be a list of the format Property=Setting Property=Setting. For more information, see About Properties. To perform an administrative installation, include ACTION=ADMIN in szCommandLine. For more information, see the ACTION property. You can completely remove a product by setting REMOVE=ALL in szCommandLine.
// The sql command. Note the "?" placeholder for the value.
// Open a view to use to apply the change. Here's where you specify your sql command. coredll13: AppendMenu
uint MF_BYCOMMAND = 0x00000000; 14: CreateProcess
string lpCommandLine, 15: EnableMenuItem
uint MF_BYCOMMAND = 0x00000000; Use MF_BYCOMMAND to specify the item ID on [itemId] parameter or use MF_BYPOSITION to specify the zero-based index of the item, if neither MF_BYCOMMAND nor MF_BYPOSITION is specified the item ID is used.
EnableMenuItem(hMenu, 1002, MF_BYCOMMAND | MF_GRAYED); 16: NOTIFYICONDATA
uint WM_COMMAND = 0x0111; 17: ShowWindow nCmdShow is an integer type parameter specifying how the window is to be shown. See ShowWindowCommand winmm18: mciSendString
static extern Int32 mciSendString(string command, StringBuilder buffer, int bufferSize, IntPtr hwndCallback);
Private Shared Function mciSendString(ByVal command As String, ByVal buffer As StringBuilder, ByVal bufferSize As Integer, ByVal hwndCallback As IntPtr) As Integer
Declare Ansi Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal command As String, ByRef buffer As StringBuilder, ByVal bufferSize As Integer, ByVal hWndCallback As IntPtr) As Integer
string sCommand = "open \"" + strFilePath + "\" type mpegvideo alias MediaFile";
mciSendString(sCommand, null, 0, 0);
sCommand = "play MediaFile notify";
mciSendString(sCommand, null, 0, _frmObject.Handle.ToInt64());
static extern Int32 mciSendString(string command, string buffer, int bufferSize, IntPtr hwndCallback);
private void EjectCdCommand()
private void CloseCdCommand()
Dim sCommand As String = "open """ + strFilePath + """ type waveaudio alias MediaFile"
mciSendString(sCommand, Nothing, 0, IntPtr.Zero)
sCommand = "play MediaFile notify"
mciSendString(sCommand, Nothing, 0, Me.Handle.ToInt64()) winfax19: FaxSetJob
int Command, ref FAX_JOB_ENTRY JobEntry); winspool20: SetJob
int Level, ref byte pJob, int Command_Renamed);
Level As Integer, ByRef pJob As Byte, Command_Renamed As Integer) 21: XcvData netapi32With all the different information you can get with just one command; this one sure is difficult. Very, very little documentation on this because Microsoft probably doesn't want easy access to these. My company has allowed me to contribute my findings as long as I mention it. We are Digital Boundary Group, based in London, Ontario, Canada, and we do penetration testing. Please visit us at http://digitalboundary.net I will be allowed to continue my contributions as long as my company does not lose credit for its contributions. This is a simple console program which lets you send messages (quite similar to the NET SEND command...).
/// The command to run.
public string Command;
public int CurrentCommands; wininet26: FtpCommand
public static extern bool FtpCommandA
[MarshalAs(UnmanagedType.VBByRefStr)] ref string lpszCommand,
IntPtr phFtpCommand);
Declare Function FtpCommandA Lib "wininet.dll" _
ByVal lpszCommand As String, _
ByVal phFtpCommand As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean lpszCommand (in) A pointer to a string that contains the command to send to the FTP server. phFtpCommand (out) A pointer to a handle that is created if a valid data socket is opened. The fExpectResponse parameter must be set to TRUE for phFtpCommand to be filled.
Dim ret As Boolean = FTPCommandA(ConnectionHandle, False, 0, sCommand, IntPtr.Zero, IntPtr.Zero) shlwapi27: AssocCreate
COMMAND = 1,
DDECOMMAND,
qa.GetString(ASSOCF.NOTRUNCATE, ASSOCSTR.COMMAND,
qa.GetString(ASSOCF.NOTRUNCATE, ASSOCSTR.COMMAND,
Console.WriteLine("No command line is associated to .doc print verb."); 28: AssocQueryString
Command = 1,
DDECommand, 29: PathGetArgs
/// Finds the command line arguments within a given path.
''' Finds the command line arguments within a given path. dmcl4030: dmAPIExec
private extern static int dmAPIExec(string command);
public bool Exec(string command, params object[] args)
string cmd = String.Format(null,command, args); 31: dmAPIGet
public string Get(string command, params object[] args)
string cmd = String.Format(null,command, args); userenvTo build: run the following commands at bash command prompt, after copying an icon file, say bfe.ico, to the cwd: Enums33: BrowseInfoFlags
/// dialog box, reordering, shortcut menus, new folders, delete, and other shortcut menu commands.
''' dialog box, reordering, shortcut menus, new folders, delete, and other shortcut menu commands.
// Core command properties
internal static PropertyKey UI_PKEY_CommandId = new PropertyKey(new Guid(Convert.ToString(100, 16).PadLeft(8, '0') + UI_PropertyKey), (int)VarEnum.VT_UI4);
internal static PropertyKey UI_PKEY_CommandType = new PropertyKey(new Guid(Convert.ToString(105, 16).PadLeft(8, '0') + UI_PropertyKey), (int)VarEnum.VT_UI4);
enum DeferWindowPosCommands :uint {
Public Enum DeferWindowPosCommands As UInteger
Public Enum DeferWindowPosCommands 36: DeskBandCommands
enum DeskBandCommands
Enum DeskBandCommands
/// Represents possible dialogbox command id values by the MB_GetString function.
public enum DialogBoxCommandID : int
Public Enum DialogBoxCommandID 38: HCBT
SysCommand = 8,
SysCommand = 8 39: HRESULT
///Not enough memory available to complete this command.
[Description("Not enough memory available to complete this command.")]
///The reader or smart card is not ready to accept commands.
[Description("The reader or smart card is not ready to accept commands.")]
'''Not enough memory available to complete this command.
<Description("Not enough memory available to complete this command.")> _
'''The reader or smart card is not ready to accept commands.
<Description("The reader or smart card is not ready to accept commands.")> _ 40: MoveFileFlags This is the command you would use for an uninstaller program, a program to delete itself. If you set the first parameter to a directory everything inside of the directory can be (re)moved. To delete set the second parameter to null. 41: OLECMDEXECOPT 42: OLECMDF 43: OLECMDID 44: RasError
/// <summary>654. A command or response in the device.INF file section refers to an undefined macro. </summary>
/// <summary>660. The device.INF file contains no responses for the command. </summary>
/// <summary>661. The device.INF file is missing a command. </summary>
ERROR_NO_COMMAND_FOUND,
ERROR_IN_COMMAND,
/// <summary>700. The expanded command in the device.INF file is too long. </summary> 45: RawInputCommand
/// Enumeration contanining the command types to issue.
public enum RawInputCommand
Enum RawInputCommand 47: SC_ACTION_TYPE
Run_Command = 3
Run_Command = 3
enum ShowWindowCommands
/// is similar to <see cref="Win32.ShowWindowCommand.Normal"/>, except
/// <see cref="Win32.ShowWindowCommand.ShowMinimized"/>, except the
/// similar to <see cref="Win32.ShowWindowCommand.Show"/>, except the
Enum ShowWindowCommands As Integer
''' is similar to <see cref="Win32.ShowWindowCommands.Normal"/>, except
''' <see cref="Win32.ShowWindowCommands.ShowMinimized"/>, except the
''' similar to <see cref="Win32.ShowWindowCommands.Show"/>, except the 49: SHOWWINDOW_FLAGS
public enum ShowWindowCommands : uint {
/// Displays a window in its most recent size and position. This value is similar to <see cref="ShowWindowCommands.SW_SHOWNORMAL"/>, except the window is not activated.
/// Displays the window as a minimized window. This value is similar to <see cref="ShowWindowCommands.SW_SHOWMINIMIZED"/>, except the window is not activated.
/// Displays the window in its current size and position. This value is similar to <see cref="ShowWindowCommands.SW_SHOW"/>, except the window is not activated.
Public Enum ShowWindowCommands 50: SysCommands
enum SysCommands : int
Public Enum SysCommands As Int32
'''Sets the state of the display. This command supports devices that In WM_SYSCOMMAND messages, the four low-order bits of the wParam parameter are used internally by the system. To obtain the correct result when testing the value of wParam, an application must combine the value 0xFFF0 with the wParam value by using the bitwise AND operator. 51: UI_CommandType 52: UI_ExecutionVerb 53: UI_Invalidations 54: WindowsMessages
/// Sent to an application that has initiated a training card with Microsoft Windows Help. The message informs the application when the user clicks an authorable button. An application initiates a training card by specifying the HELP_TCARD command in a call to the WinHelp function.
/// The WM_COMMAND message is sent when the user selects a command item from a menu, when a control sends a notification message to its parent window, or when an accelerator keystroke is translated.
COMMAND = 0x0111,
/// A window receives this message when the user chooses a command from the Window menu, clicks the maximize button, minimize button, restore button, close button, or moves the form. You can stop the form from moving by filtering this out.
SYSCOMMAND = 0x0112,
/// The WM_MENUCOMMAND message is sent when the user makes a selection from a menu.
MENUCOMMAND = 0x0126,
/// The WM_ENTERSIZEMOVE message is sent one time to a window after it enters the moving or sizing modal loop. The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border, or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. The operation is complete when DefWindowProc returns.
/// The WM_EXITSIZEMOVE message is sent one time to a window, after it has exited the moving or sizing modal loop. The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border, or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. The operation is complete when DefWindowProc returns.
/// Sent by an application to direct the IME window to carry out the requested command. The application uses this message to control the IME window that it has created. To send this message, the application calls the SendMessage function with the following parameters.
/// Sent to an application to provide commands and request information. A window receives this message through its WindowProc function.
/// The WM_APPCOMMAND message notifies a window that the user generated an application command event, for example, by clicking an application command button using the mouse or typing an application command key on the keyboard.
APPCOMMAND = 0x0319,
/// The user completed an input event (for example, pressed an application command button on the mouse or an application command key on the keyboard), and the application did not handle the WM_APPCOMMAND message generated by that input.
/// If the Shell procedure handles the WM_COMMAND message, it should not call CallNextHookEx. See the Return Value section for more information.
HSHELL_APPCOMMAND = 12,
'''The WM_COMMAND message is sent when the user selects a command item from a menu when a control sends a notification message to its parent window or when an accelerator keystroke is translated.
WM_COMMAND = &H111
'''The WM_ENTERSIZEMOVE message is sent one time to a window after it enters the moving or sizing modal loop. The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. The operation is complete when DefWindowProc returns.
'''The WM_EXITSIZEMOVE message is sent one time to a window after it has exited the moving or sizing modal loop. The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. The operation is complete when DefWindowProc returns.
'''Sent by an application to direct the IME window to carry out the requested command. The application uses this message to control the IME window that it has created. To send this message the application calls the SendMessage function with the following parameters.
'''Sent to an application to provide commands and request information. A window receives this message through its WindowProc function.
'''The WM_MENUCOMMAND message is sent when the user makes a selection from a menu.
WM_MENUCOMMAND = &H126
'''A window receives this message when the user chooses a command from the Window menu (formerly known as the system or control menu) or when the user chooses the maximize button minimize button restore button or close button.
WM_SYSCOMMAND = &H112
'''Sent to an application that has initiated a training card with Microsoft Windows Help. The message informs the application when the user clicks an authorable button. An application initiates a training card by specifying the HELP_TCARD command in a call to the WinHelp function.
''' Notifies a window that the user generated an application command event, for example,
''' by clicking an application command button using the mouse or typing an application command key on the keyboard.
WMAppcommand = &H319
''' A window receives this message when the user chooses a command from the Window menu
''' The type of system command requested
''' if a window menu command is chosen with the mouse.
''' if a window menu command is chosen with the mouse.
''' This parameter is –1 if the command is chosen using a system accelerator, or zero if using a mnemonic.
''' In <see cref="WmSysCommand"/> messages,
WmSysCommand = &H112
''' Message sent when the user selects a command item from a menu,
WmCommand = &H111
''' or when the window passes the <see cref="WindowsMessages.WmSysCommand"/> message to the
''' or when the window passes the <see cref="WindowsMessages.WmSysCommand"/> message to the
WmMenuCommand = &H126
public const Int32 WM_SYSCOMMAND = 0x112;
if(m.Msg == WM_SYSCOMMAND) 55: WindowStyles
/// The child window should pass the message to the parent window procedure, which should call the WinHelp function using the HELP_WM_HELP command.
/// <summary>Specifies a palette window, which is a modeless dialog box that presents an array of commands.</summary>
''' The child window should pass the message to the parent window procedure, which should call the WinHelp function using the HELP_WM_HELP command.
''' <summary>Specifies a palette window, which is a modeless dialog box that presents an array of commands.</summary> 56: WindowStylesEx
/// The child window should pass the message to the parent window procedure, which should call the WinHelp function using the HELP_WM_HELP command.
/// <summary>Specifies a palette window, which is a modeless dialog box that presents an array of commands.</summary>
''' The child window should pass the message to the parent window procedure, which should call the WinHelp function using the HELP_WM_HELP command.
''' <summary>Specifies a palette window, which is a modeless dialog box that presents an array of commands.</summary> 57: WinHelpCommands
///<Summary>Commands to pass to WinHelp()</Summary>
enum WinHelpCommands : uint
HELP_COMMAND = 0x0102;
'''<Summary>Commands to pass to WinHelp()</Summary>
Public Enum WinHelpCommands As UInteger
HELP_COMMAND = &H0102
Public Enum WinHelpCommands
HELP_COMMAND As Long = &H0102 cfgmgr32winscard59: SCardTransmit
byte[] sendBytes = new byte[] { 0xFF, 0xCA, 0x00, 0x00, 0x00 }; //get UID command for iClass cards gdi3260: TextOut TextOut, unlike the Text property, have to be called every time Windows asks for a control to repaint. By using the Graphics.CopyFromScreen method one can copy the output of a Textout command and use that for repainting. Unlike graphics.drawstring, Textout can work with fonts other than True Type, Open Type, and PostScript fonts. If you have a font that's supported by Windows but not .net you can most likely use this command to draw it. Cut off search results after 60. Please refine your search. |