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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "ByVal" in [All]

odbc32

.

Private Declare Auto Function SQLAllocHandle Lib "odbc32.dll" (ByVal HandleType As Short, ByVal InputHandle As IntPtr, ByRef OutputHandle As IntPtr) As Short

.

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

.

Shared Function SQLBindCol(ByVal StatementHandle As HandleRef, ByVal ColumnNumber As _

.

Short, ByVal TargetType As Short, ByVal TargetValue As HandleRef, ByVal BufferLength As _

.

    Private Function SQLConnect(ByVal hDBc As IntPtr, ByVal servername As String, ByVal serverlen As Short, _

.

    ByVal username As String, ByVal userlen As Short, ByVal pwd As String, ByVal pwdlen As Short) As Short

.

Declare Function SQLDataSources Lib "odbc32.dll" (ByVal EnvironmentHandle As Integer, ByVal Direction As Short, _

.

    ByVal ServerName As String, ByVal BufferLength1 As Short, ByRef NameLength1Ptr As Short, _

.

    ByVal Description As String, ByVal BufferLength2 As Short, ByRef NameLength2Ptr As Short) As Short

.

    Private Sub OnGetODBCConnectionNames(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmbExpSID.DropDown, cmbImpSid.DropDown

.

    Private Shared Function SQLDriverConnect(ByVal hdbc As IntPtr, ByVal hwnd As IntPtr, ByVal szConnStrIn As String, _

.

    ByVal cbConnStrIn As Short, ByVal szConnStrOut As Text.StringBuilder, ByVal cbConnStrOutMax As Short, _

.

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

.

    Private Shared Function SQLExecDirect(ByVal statementHandle As IntPtr, ByVal statementText As String, _

.

    ByVal textLength As Short) As Short

.

    Private Function SQLFetch(ByVal statementHandle As IntPtr) As Short

.

Declare Function SQLFreeEnv Lib "odbc32.dll" (ByVal Handle As IntPtr) As Short

.

Declare Function SQLFreeHandle Lib "odbc32.dll" (ByVal HandleType As Short, ByVal InputHandle As IntPtr) As Short

.

    Private Shared Function SQLFreeStmt(ByVal statementhandle As IntPtr, ByVal [option] As UShort) As Short

.

    Private Shared Function SQLGetData(ByVal statementHandle As IntPtr, ByVal columnNumber As UShort, _

.

    ByVal targetType As Short, ByVal targetValue As IntPtr, ByVal bufferLength As Integer, _

.

Declare Function SQLGetDiagRec Lib "odbc32.dll" (ByVal handleType As Short, ByVal statementHandle As IntPtr,

.

    ByVal record As Short, ByVal sqlState As Text.StringBuilder, ByRef nativeError As Integer,

.

    ByVal errorMsg As Text.StringBuilder, ByVal errorMsgMax As Short, ByRef errorMsgLength As Short) As Short

.

    Private Shared Function SQLMoreResults(ByVal statementHandle As IntPtr) As Short

.

    ByVal henv As IntPtr, _

.

    ByVal attribute As Integer, _

.

    ByVal valuePtr As IntPtr, _

.

    ByVal strLength As Integer ) As Short

winhttp

.

Declare Function WinHttpAddRequestHeaders Lib "winhttp.dll" (ByVal hRequest As IntPtr, ByVal pwszHeaders As String, ByVal dwHeaderLength As Integer, ByVal dwModifiers As Integer) As Boolean

.

Declare Function WinHttpCloseHandle Lib "winhttp.dll" (ByVal hInternet As IntPtr) As Boolean

.

Declare Function WinHttpConnect Lib "winhttp.dll" (ByVal hSession As IntPtr, ByVal pswzServerName As String, ByVal nServerPort As Short, ByVal dwReserved As Integer) As IntPtr

.

Declare Function WinHttpOpenRequest Lib "winhttp.dll" (ByVal hConnect As IntPtr, ByVal pwszVerb As String, ByVal pwszObjectName As String, ByVal pwszVersion As String, ByVal pwszReferrer As String, ByRef ppwszAcceptTypes As Byte(), ByVal dwFlags As Integer) As IntPtr

.

Declare Function WinHttpOpenRequest Lib "winhttp.dll" (ByVal hConnect As IntPtr, ByVal pwszVerb As String, ByVal pwszObjectName As String, ByVal pwszVersion As String, ByVal pwszReferrer As String, ByRef ppwszAcceptTypes As Byte(), ByVal dwFlags As Integer) As IntPtr

.

Declare Function WinHttpQueryDataAvailable Lib "winhttp.dll" (ByVal hRequest As IntPtr, ByRef lpdwNumberOfBytesAvailable As Integer) As Boolean

.

Declare Function WinHttpQueryHeaders Lib "winhttp.dll" (ByVal hRequest As IntPtr, ByVal dwInfoLevel As Integer, ByVal pwszName As String, ByVal buffer As Byte(), ByRef lpdwBufferLength As Integer, ByRef lpdwIndex As Integer) As Boolean

.

Declare Function WinHttpQueryOption Lib "winhttp.dll" (ByVal hInternet As IntPtr, ByVal dwOption As Integer, ByVal lpBuffer As Byte(), ByRef lpdwBufferLength As Integer) As Boolean

.

Declare Function WinHttpReadData Lib "winhttp.dll" (ByVal hRequest As IntPtr, ByVal lpBuffer As Byte(), ByVal dwNumberOfBytesToRead As Integer, ByRef lpdwNumberOfBytesRead As Integer) As Boolean

.

Declare Function WinHttpReceiveResponse Lib "winhttp.dll" (ByVal hRequest As IntPtr, ByVal lpReserved As Integer) As Boolean

.

Declare Function WinHttpSendRequest Lib "winhttp.dll" (ByVal hRequest As IntPtr, ByVal pwszHeaders As String, ByVal dwHeadersLength As Integer, ByVal lpOptional As Byte(), ByVal dwOptionalLength As Integer, ByVal dwTotalLength As Integer, ByVal dwContext As IntPtr) As Boolean

.

Declare Function WinHttpSetOption Lib "winhttp.dll" (ByVal hInternet As IntPtr, ByVal dwOption As Integer, ByVal lpBuffer As Byte(), ByVal dwBufferLength As Integer) As Boolean

.

Declare Function WinHttpSetTimeouts Lib "winhttp.dll" (ByVal hInternet As IntPtr, ByVal dwResolveTimeout As Integer, ByVal dwConnectTimeout As Integer, ByVal dwSendTimeout As Integer, ByVal dwReceiveTimeout As Integer) As Boolean

.

Declare Function WinHttpWriteData Lib "winhttp.dll" (ByVal hRequest As IntPtr, ByVal lpBuffer As IntPtr, ByVal dwNumberOfBytesToWrite As UInteger, ByRef lpdwNumberOfBytesWritten As UInteger) As Boolean

Enums

.

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

.

        [MarshalAs(UnmanagedType.ByValArray)] public SID_AND_ATTRIBUTES[] Groups;

query

.

Declare Unicode Function LoadIFilter Lib "query.dll" (ByVal pwcsPath As String, _

.

           <MarshalAs(UnmanagedType.IUnknown)> ByVal pUnkOuter As Object, _

dnsapi

.

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = DnsAddrMaxSockaddrLength)]

.

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]

.

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = IpAddressV4LengthBytes)]

.

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]

.

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = IpAddressV6LengthBytes)]

wtsapi32

.

Private Shared Sub WTSCloseServer(ByVal hServer As IntPtr)

.

     Private Shared Function WTSDisconnectSession(ByVal hServer As IntPtr, ByVal SessionId As Integer, ByVal bWait As Boolean) As Boolean

.

    Friend Function DissconnectSession(ByVal ServerName As String, ByVal SessionID As Integer) As Boolean

.

     ByVal hServer As Int32, _

.

     ByVal Reserved As Int32, _

.

     ByVal Version As Int32, _

.

    ByVal hServer As IntPtr, _

.

    ByVal Reserved As Int32, _

.

    ByVal Version As Int32, _

.

    ByVal hServer As IntPtr, _

.

    ByVal Reserved As Int32, _

.

    ByVal Vesrion As Int32, _

.

    Private Shared Sub WTSFreeMemory(ByVal pMemory As IntPtr)

.

     Private Shared Function WTSOpenServer(ByVal pServerName As String) As IntPtr

.

     Private Shared Sub WTSCloseServer(ByVal hServer As IntPtr)

.

    Friend Function GetSessions(ByVal ServerName As String) As strSessionsInfo()

.

    Private Function GetConnectionState(ByVal State As WTS_CONNECTSTATE_CLASS) As String

.

Private Shared Sub WTSFreeMemory(ByVal pMemory As IntPtr)

.

     Private Shared Function WTSLogoffSession(ByVal hServer As IntPtr, ByVal SessionId As Integer, ByVal bWait As Boolean) As Integer

.

    Friend Function LogoffSession(ByVal ServerName As String, ByVal SessionID As Integer) As Boolean

.

Private Shared Function WTSOpenServer(ByVal pServerName As String) As IntPtr

.

     ByVal hServer As Int32, _

.

     ByVal SessionId As Int32, _

.

     ByVal InfoClass As WTS_INFO_CLASS, _

.

Declare Function WTSQueryUserToken Lib "wtsapi32.dll" (ByVal SessionId As UInt32, ByRef Token As IntPtr) As Boolean

.

Declare Function WTSRegisterSessionNotification Lib "wtsapi32.dll" (ByVal hWnd as IntPtr, ByVal dwFlags as Int32) As Boolean

.

  Private Shared Function WTSSendMessage(ByVal hServer As IntPtr, ByVal SessionId As Int32, ByVal title As String, ByVal titleLength As UInt32, ByVal message As String, ByVal messageLength As UInt32, ByVal style As UInt32, ByVal timeout As UInt32, ByRef pResponse As UInt32, ByVal bWait As Boolean) As Boolean

.

    Private Shared Function WTSSendMessage(ByVal hServer As IntPtr, ByVal SessionId As Int32, ByVal title As String, ByVal titleLength As UInt32, ByVal message As String, ByVal messageLength As UInt32, ByVal style As UInt32, ByVal timeout As UInt32, ByRef pResponse As UInt32, ByVal bWait As Boolean) As Boolean

.

  Private Shared Function WTSShutdownSystem(ByVal hServer As IntPtr, ByVal ShutdownFlags As Long) As Integer

.

Declare Function WTSUnRegisterSessionNotification Lib "wtsapi32.dll" (ByVal hWnd as IntPtr) As Boolean

.

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]

.

        <System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray, SizeConst:=20)> _

oleaut32

.

Declare Unicode Function LoadTypeLib Lib "oleaut32.dll" (ByVal szFile As String, ByRef TPpTypeLib As System.Runtime.InteropServices.ComTypes.ITypeLib) As Integer

.

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

.

Declare Function RegisterTypeLib Lib "oleaut32.dll" (ByVal pTLB As Object, szFullPath As Byte, szHelpFile As Byte) As Long

.

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

.

Declare Function UnRegisterTypeLib Lib "oleaut32.dll" (LibID As tGUID, ByVal nVerMajor As Integer, ByVal nVerMinor As Integer, ByVal lCID As Long, ByVal tSysKind As eSYSKIND) As Long

.

    Private Declare Unicode Function LoadTypeLib Lib "oleaut32.dll" (ByVal TLpszModule As String, ByRef TPpTypeLib As ComTypes.ITypeLib2) As Integer

.

    Private Declare Unicode Function RegisterTypeLib Lib "oleaut32.dll" (ByVal ptlib As ComTypes.ITypeLib2, ByVal szFullPath As String, ByVal szHelpDir As String) As Integer

.

    Private 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 ComTypes.SYSKIND) As Integer

.

    Public Function RegisterTLib(ByVal strFile As String, ByVal bRegister As Boolean) As Boolean

.

Declare Function VarBstrFromDisp Lib "oleaut32.dll" (Byval Disp as IntPtr, Byval lcid As Integer, Byref pbstrOut as String) As Integer

.

Public Shared Sub memset(<[In](), Out()> ByVal dest As IntPtr, _

.

              <[In]()> ByVal c As Integer, _

.

              <[In]()> ByVal count As UInteger)

wer

.

    <DllImport("wer.dll", SetLastError:=True, CharSet:=CharSet.Unicode)> Private Shared Function WerAddExcludedApplication(ByVal pwzExeName As String, ByVal bAllUsers As Boolean) As Integer

Structures

.

    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 6)]

.

   <MarshalAs(UnmanagedType.ByValArray, SizeConst:=6)> Dim adapter_address() As Byte

.

            [MarshalAs(UnmanagedType.ByValArray, SizeConst=64)]

.

    <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=64)> Public szName As String

.

     Set(ByVal value As Byte)

.

     Set(ByVal value As Byte)

.

     Set(ByVal value As Byte)

.

     Set(ByVal value As Byte)

.

        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 248)]

.

        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = BLUETOOTH_MAX_NAME_SIZE)]

.

        [MarshalAs(UnmanagedType.ByValTStr, SizeConst=128)]

.

    [MarshalAs(UnmanagedType.ByValTStr,SizeConst= 128)]

.

    <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=128)> _

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


 
Access PInvoke.net directly from VS: