Desktop Functions: Smart Device Functions:
|
Search Results for "Run" in [All]odbccp32
using System.Runtime.InteropServices; Imports System.Runtime.InteropServices
ODBC_ERROR_OUTPUT_STRING_TRUNCATED = 22, winmm
using System.Runtime.InteropServices;
<Runtime.InteropServices.StructLayout(Runtime.InteropServices.LayoutKind.Sequential, CharSet:=Runtime.InteropServices.CharSet.Auto)> _
<System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=32)> _
[System.Runtime.InteropServices.StructLayout(Runtime.InteropServices.LayoutKind.Sequential, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst = 32)]
waveOutGetDevCaps(i, wc, System.Runtime.InteropServices.Marshal.SizeOf(wc))
using System.Runtime.InteropServices; userenvTo build: run the following commands at bash command prompt, after copying an icon file, say bfe.ico, to the cwd: To run: The calling process must have the SE_RESTORE_NAME and SE_BACKUP_NAME privileges. For more information, see Running with Special Privileges. fbwflib8: lorem1 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 9: lorem37 Bring to the table win-win survival strategies to ensure proactive domination. At the end of the day, going forward, a new normal that has evolved from generation X is on the runway heading towards a streamlined cloud solution. User generated content in real-time will have multiple touchpoints for offshoring. mpr[DllImport("mpr.dll", CharSet = System.Runtime.InteropServices.CharSet.Ansi)]
using System.Runtime.InteropServices;
using System.Runtime.InteropServices; 12: WNetEnumResource
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)] public string lpLocalName;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)] public string lpRemoteName;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)] public string lpComment;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)] public string lpProvider;
Imports System.Runtime.InteropServices
<MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)> Public lpLocalName As String
<MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)> Public lpRemoteName As String
<MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)> Public lpComment As String
<MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPTStr)> Public lpProvider As String oleaut3213: GetActiveObject 14: LoadTypeLib
Declare Unicode Function LoadTypeLib Lib "oleaut32.dll" (ByVal szFile As String, ByRef TPpTypeLib As System.Runtime.InteropServices.ComTypes.ITypeLib) As Integer In VB.Net you can substitute [System.Runtime.InteropServices.ComTypes.ITypeLib2] or [System.Runtime.InteropServices.UCOMITypeLib] for [System.Runtime.InteropServices.ComTypes.ITypeLib], defined in mscorlib.dll. Note that in v2.0 (Whidbey) of the .NET Framework, the System.Runtime.InteropServices.UCOMITypeLib interface has been deprecated in favor of System.Runtime.InteropServices.ComTypes.ITypeLib. 15: RegisterTypeLib
Declare Unicode Function RegisterTypeLib Lib "oleaut32.dll" (ByVal ptlib As System.Runtime.InteropServices.ComTypes.ITypeLib, ByVal szFullPath As String, ByVal szHelpDir As String) As Integer For the ITypeLib parameter in C#, you can use [System.Runtime.InteropServices.UCOMITypeLib], already defined in mscorlib.dll. Note that in v2.0 (Whidbey) of the .NET Framework, this interface has been deprecated in favor of System.Runtime.InteropServices.ComTypes.ITypeLib. In VB.Net you can substitute [System.Runtime.InteropServices.ComTypes.ITypeLib2] or [System.Runtime.InteropServices.UCOMITypeLib] for [System.Runtime.InteropServices.ComTypes.ITypeLib], defined in mscorlib.dll. 16: SysFreeString System.Runtime.InteropServices.Marshal.FreeBSTR http://msdn2.microsoft.com/en-us/library/system.runtime.interopservices.marshal.freebstr.aspx
Declare Unicode Function UnRegisterTypeLib Lib "oleaut32.dll" (ByRef LibID As System.Guid, ByVal nVerMajor As Short, ByVal nVerMinor As Short, ByVal lCID As Integer, ByVal tSysKind As System.Runtime.InteropServices.ComTypes.SYSKIND) As Integer In VB.Net you can substitute [System.Runtime.InteropServices.SYSKIND] for [System.Runtime.InteropServices.ComTypes.SYSKIND], defined in mscorlib.dll. Note that in v2.0 (Whidbey) of the .NET Framework, the System.Runtime.InteropServices.SYSKIND interface has been deprecated in favor of System.Runtime.InteropServices.ComTypes.SYSKIND. winhttp18: lorem1 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
/// <returns>If the function succeeds, the function returns <c>true</c>. If the function fails, it returns <c>false</c>. For extended error data, call <see cref="System.Runtime.InteropServices.Marshal.GetLastWin32Error"/>.</returns> shlwapi20: AssocCreate
NOTRUNCATE = 0x00000020,
REMAPRUNDLL = 0x00000080,
qa.GetString(ASSOCF.NOTRUNCATE, ASSOCSTR.COMMAND,
qa.GetString(ASSOCF.NOTRUNCATE, ASSOCSTR.COMMAND, 21: AssocQueryString
NoTruncate = 0x20,
RemapRunDll = 0x80, 22: ColorHLSToRGB
using System.Runtime.InteropServices; 23: ColorRGBToHLS
using System.Runtime.InteropServices; 24: IPreviewHandler [System.Runtime.InteropServices.ComImport] 25: IsOS
/// The program is running on one of the following versions of Windows:
/// The program is running on Windows 2000 or one of its successors.
/// The program is running on Windows 2000 Terminal Server in either Remote
/// The program is running on Windows Embedded, any version. Equivalent to
/// The program is running as a Terminal Server client. Equivalent to
/// The program is running on Windows 2000 Terminal Server in the Remote
/// The program is running on Windows NT Workstation or Windows 2000 (or one of
/// The program is running on Windows Datacenter Server or Windows Server
/// The program is running on Windows Advanced Server or Windows Server
/// The program is running on Windows Server (Standard) or Windows Server
/// The program is running on Windows 2000 Terminal Server in Application
/// The program is running on Windows XP (or one of its successors), Home
/// The program is running on any Windows Server product. Equivalent to
/// The program is a 32-bit program running on 64-bit Windows.
/// The program is running on Microsoft Small Business Server with restrictive
/// The program is running on Windows XP Tablet PC Edition, or one of its
/// The program is running on Windows XP Media Center Edition, or one of its
/// The program is running on Windows Appliance Server. 26: PathCompactPath
''' Truncates a path to fit within a certain number of characters by replacing path components with ellipses.
using System.Runtime.InteropServices;
''' Truncates a path to fit within a certain number of characters by replacing path components with ellipses.
using System.Runtime.InteropServices;
Dim strUnExpandEnvStrings As String
If blnOK = True Then strUnExpandEnvStrings = sb.ToString ' Should be %ProgramFiles%\Test on English OS static extern void SHCreateStreamOnFileEx(string fileName, uint grfmode, uint dwAttributes, bool fCreate, System.Runtime.InteropServices.ComTypes.IStream streamNull, ref System.Runtime.InteropServices.ComTypes.IStream stream); static extern void SHCreateStreamOnFileEx(string fileName, uint grfmode, uint dwAttributes, bool fCreate, System.Runtime.InteropServices.ComTypes.IStream streamNull, ref System.Runtime.InteropServices.ComTypes.IStream stream);
<System.Runtime.InteropServices.DllImport("shlwapi", CharSet:=System.Runtime.InteropServices.CharSet.Auto)> _ shell32
using System.Runtime.InteropServices; 33: ExtractIcon
using System.Runtime.InteropServices;
Imports System.Runtime.InteropServices 34: ExtractIconEx
using System.Runtime.InteropServices;
Imports System.Runtime.InteropServices 35: FindExecutable
Imports System.Runtime.InteropServices using System.Runtime.InteropServices; 36: Run 37: SHAppBarMessage
Imports System.Runtime.InteropServices
<DllImport("User32.dll", ExactSpelling:=True, CharSet:=System.Runtime.InteropServices.CharSet.Auto)> _ 38: SHBindToParent using System.Runtime.InteropServices; using System.Runtime.InteropServices; 39: ShellAbout using System.Runtime.InteropServices; 40: ShellExecuteEx
using System.Runtime.InteropServices;
Imports System.Runtime.InteropServices
info.cbSize = System.Runtime.InteropServices.Marshal.SizeOf(info)
Dim ex As New System.ComponentModel.Win32Exception(System.Runtime.InteropServices.Marshal.GetLastWin32Error())
info.cbSize = System.Runtime.InteropServices.Marshal.SizeOf(info);
Dim ex As New System.ComponentModel.Win32Exception(System.Runtime.InteropServices.Marshal.GetLastWin32Error())
"runas" - In Windows 7 and Vista, opens the UAC dialog and in others, open the Run as... Dialog 41: SHFileOperation
using System.Runtime.InteropServices; 42: SHGetFileInfo
using System.Runtime.InteropServices;
string s = System.Runtime.InteropServices.Marshal.PtrToStringUni( pPath );
System.Runtime.InteropServices.Marshal.FreeCoTaskMem( pPath ); <System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="SHGetNameFromIDList")> _
<System.Runtime.InteropServices.InAttribute()> _ Imports System.Runtime.InteropServices
<System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="ILFree")> _
Private Shared Sub ILFree(<System.Runtime.InteropServices.InAttribute()> ByVal pidl As System.IntPtr)
<System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="SHGetNameFromIDList")> _
<System.Runtime.InteropServices.InAttribute()> _
<System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="SHParseDisplayName")> _ <System.Runtime.InteropServices.InAttribute(), _ System.Runtime.InteropServices.MarshalAsAttribute( _
System.Runtime.InteropServices.UnmanagedType.LPWStr)> _ ByVal pszName As String, <System.Runtime.InteropServices.InAttribute()> _
Imports System.Runtime.InteropServices 46: SHOpenWithDialog Requires Windows Vista or later; on earlier platforms, use rundll32 to run OpenAs
using (Process.Start("rundll32", "shell32.dll,OpenAs_RunDLL " + sFilename)) { }
QUNS_RUNNING_D3D_FULL_SCREEN = 3,
/// A full-screen application is running or Presentation Settings are applied.
/// A full-screen (exclusive mode) Direct3D application is running.
RunningDirect3dFullScreen = 3, 48: SHRunFileDialog Opens the typical 'Run' dialog used by the start menu, without explorer.exe.
static extern bool SHRunFileDialog(IntPtr hwndOwner, IntPtr hIcon, string lpszPath, string lpszDialogTitle, string lpszDialogTextBody, RunFileDialogFlags uflags);
public enum RunFileDialogFlags : uint Use the Documented IShellDispatch->Run(), but this can be a pain in C# if you are pressed for time.
dialogtext = "Enter the name of the program file you wish to run. You may also enter in URLs and items found in your path and applications list.";
SHRunFileDialog(
RunFileDialogFlags.CalcDirectory msdelta49: CreateDeltaW
ref System.Runtime.InteropServices.ComTypes.FILETIME lpTargetFileTime, rapi50: CeCreateFile 51: CeCreateProcess 52: CeGetVersionEx 53: CeRapiInit HRESULT translates to void (NOT int or anything else some idiot has written down) for c# function prototypes. Any HRESULT other than "OK" will cause the runtime to throw an exception. 54: CeRapiInitEx HRESULT translates to void (NOT int or anything else some idiot has written down) for c# function prototypes. Any HRESULT other than "OK" will cause the runtime to throw an exception. 55: CE_FIND_DATA FILETIME is now obsolet. You can use System.Runtime.InteropServices.ComTypes.FILETIME type instead. user3256: AnimateWindow
Imports System.Runtime.InteropServices To get an animation to run in reverse, to say, animate the window closing use some thing like: The AW_HIDE will make any of the animations run in reverse. 57: ClipCursor
[System.Runtime.InteropServices.DllImport("user32.dll")] 58: CloseClipboard where you had to run the SetDataObject function twice for it to work. On the first 59: CopyIcon CopyCursor reference will fail at runtime, according to documentation it is a macro: 60: CreateDesktop If you come across this error "System.Runtime.InteropServices.MarshalDirectiveException: Cannot marshal 'parameter #6': Invalid managed/unmanaged type combination (this value type must be paired with Struct).", you may want to use Cut off search results after 60. Please refine your search. |