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

odbc32

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

    Private Shared Function SQLAllocStmt(ByVal connectionHandle As IntPtr, <Runtime.InteropServices.Out()> _

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

/// source name in *ServerName is truncated to BufferLength1 minus the length of a null-termination character. </param>

.

/// the driver description in *Description is truncated to BufferLength2 minus the length of a null-termination character.</param>

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

    <Runtime.InteropServices.Out()> ByRef pbcConnStrOut As Short, ByVal fDriverCompletion As Short) As Short

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

.

<Runtime.InteropServices.DllImport("odbc32.dll")> _

.

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _

wintrust

.

    using System.Runtime.InteropServices;

.

         ProviderUnknown = 0x800b0001,           // Trust provider is not recognized on this system

wininet

.

[System.Runtime.InteropServices.DllImport("Wininet.dll")]

.

using System.Runtime.InteropServices;

.

    <System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.Bool)> Boolean

.

    <System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.Bool)> Boolean

.

    'sBuffer = System.Runtime.InteropServices.Marshal.AllocHGlobal(dwBufferLength)

.

        MsgBox("1st Party: There was an error: Code " & CStr(System.Runtime.InteropServices.Marshal.GetLastWin32Error()))

.

        MsgBox("There was an error: Code " & CStr(System.Runtime.InteropServices.Marshal.GetLastWin32Error()))

user32

.

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.

.

[System.Runtime.InteropServices.DllImport("user32.dll")]

.

where you had to run the SetDataObject function twice for it to work. On the first

.

CopyCursor reference will fail at runtime, according to documentation it is a macro:

.

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

.

        [System.Runtime.InteropServices.ComRegisterFunctionAttribute()]

.

        [System.Runtime.InteropServices.ComUnregisterFunctionAttribute()]

.

using System.Runtime.InteropServices;

.

    [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential)]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

      [System.Runtime.InteropServices.In] ref RECT lprcFrom,

.

      [System.Runtime.InteropServices.In] ref RECT lprcTo);

.

    [System.Runtime.InteropServices.DllImport("user32.dll", SetLastError = true)]

.

    [System.Runtime.InteropServices.DllImport("user32.dll", SetLastError = true)]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

    [StructLayout(System::Runtime::InteropServices::LayoutKind::Sequential)]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

    <DllImport("user32.dll", CallingConvention:=Runtime.InteropServices.CallingConvention.Cdecl)> _

.

    <DllImport("user32.dll", CallingConvention:=Runtime.InteropServices.CallingConvention.Cdecl)> _

.

Imports System.Runtime.InteropServices

.

using System.Runtime.InteropServices;

.

<Runtime.InteropServices.DllImport("user32.dll")>

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

Imports System.Runtime.InteropServices

.

        .cbSize = System.Runtime.InteropServices.Marshal.SizeOf(fwi)

.

        .cbSize = System.Runtime.InteropServices.Marshal.SizeOf(fwi)

.

Imports System.Runtime.InteropServices

.

using System.Runtime.InteropServices;

.

cbi.cbSize = System.Runtime.InteropServices.Marshal.SizeOf(cbi);

.

cbi.cbSize = System.Runtime.InteropServices.Marshal.SizeOf(cbi)

.

<System.Runtime.InteropServices.StructLayout(Runtime.InteropServices.LayoutKind.Sequential)> _

.

using System.Runtime.InteropServices;

.

<System.Runtime.InteropServices.StructLayout(Runtime.InteropServices.LayoutKind.Sequential)> _

.

            return ApplicationState.Running;

.

        return ApplicationState.NotRunning;

.

    using System.Runtime.InteropServices;

.

   <System.Runtime.InteropServices.DllImportAttribute("user32.dll", EntryPoint:="GetIconInfo")>  _

.

    Public Shared Function GetIconInfo(ByVal hIcon As System.IntPtr, ByRef piconinfo As ICONINFO) As <System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.Bool)> Boolean

.

    using System.Runtime.InteropServices;

.

    using System.Runtime.InteropServices;

.

    using System.Runtime.InteropServices;

.

Imports System.Runtime.InteropServices

.

    using System.Runtime.InteropServices;

.

Use Runtime.InteropServices.Marshal.GetLastWin32Error()

.

out Pointer to the buffer that receives the NULL-terminated string. If the string is as long or longer than lpString, the string is truncated and the terminating NULL character is added. If lpString is NULL, the function returns the length of the menu string.

.

in Specifies the maximum length, in characters, of the string to be copied. If the string is longer than the maximum specified in the nMaxCount parameter, the extra characters are truncated. If nMaxCount is 0, the function returns the length of the menu string.

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

out Pointer to the buffer that receives the NULL-terminated string. If the string is as long or longer than lpString, the string is truncated and the terminating NULL character is added. If lpString is NULL, the function returns the length of the menu string.

.

in Specifies the maximum length, in characters, of the string to be copied. If the string is longer than the maximum specified in the nMaxCount parameter, the extra characters are truncated. If nMaxCount is 0, the function returns the length of the menu string.

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

    [System.Runtime.InteropServices.DllImport("user32.dll")]

.

     Imports System.Runtime.InteropServices

.

  Imports System.Runtime.InteropServices

.

        wpTemp.Length = System.Runtime.InteropServices.Marshal.SizeOf(wpTemp)

.

    //At this point the GC can run and

.

Imports System.Runtime.InteropServices

54: IntPtr
.
Summary
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
.

An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.

.

using System.Runtime.InteropServices;

.

using System.Runtime.InteropServices;

.

                MessageBox.Show( "Already one instance is running......." );

.

                Application.Run(new Form1());

.

      // Check for running instance

.

[<System.Runtime.InteropServices.DllImport("user32.dll", CharSet=System.Runtime.InteropServices.CharSet.Auto)>]

.

[<System.Runtime.InteropServices.DllImport("user32.dll", CharSet=System.Runtime.InteropServices.CharSet.Auto)>]

.

  RUN('NOTEPAD.EXE')

.

using System.Runtime.InteropServices;

.

Imports System.Runtime.InteropServices

.

Imports System.Runtime.InteropServices

.

Imports System.Runtime.InteropServices

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


 
Access PInvoke.net directly from VS: