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

netapi32

.

    <Out()> ByRef SiteNameBuffer As IntPtr) As UInt32

.

Declare Function LsaQueryInformationPolicy Lib "Advapi32.dll" (ByVal PolicyHandle As IntPtr, ByVal InformationClass As UInteger, ByRef Buffer As IntPtr) As UInteger

.

Changed VB.NET Signature from "ByRef buffer" to "ByVal buffer". With ByRef you get a significant memory leak, with ByVal everything is fine.

.

        ByRef Buffer As IntPtr, _

.

        ByRef EntriesRead As Integer, _

.

        ByRef ResumeHandle As Integer) As Integer

.

    ByRef buffer As IntPtr) As Integer

.

Declare Unicode Function NetDfsGetInfo Lib "NETAPI32.DLL" (ByVal DfsEntryPath As String, ByVal ServerName As String, ByVal ShareName As String, ByVal Level As Integer, ByRef Buffer As IntPtr) As Integer

.

    ByRef bufptr As IntPtr, _

.

    ByRef entriesread As Integer, _

.

    ByRef totalentries As Integer, _

.

  Private Shared Function NetGetDCName(ByVal serverName As String, ByVal domainName As String, ByRef buffer As IntPtr) As NetApiStatus

.

    ByRef lpNameBuffer As IntPtr, _

.

    ByRef bufferType As NETSETUP_JOIN_STATUS) _

.

        ByRef lpNameBuffer As IntPtr, _

.

        ByRef bufferType As NETSETUP_JOIN_STATUS) _

.

    ByRef entriesRead As Integer, _

.

    ByRef Buffer As Long) As Integer

.

     ByRef OptionsSupported As NetSupportOption) _

.

    ByVal UncServerName As String, ByRef BufferPtr As IntPtr) As Integer

.

    Friend Shared Function NetScheduleJobAdd(ByVal Servername As String, ByVal Buffer As IntPtr, ByRef JobId As Integer) As Integer

.

    ByRef bufptr As IntPtr, _

.

    ByRef entriesread As Integer, _

.

    ByRef TotalEntries As Integer, _

.

    ByVal Level As Integer, ByRef ptrBuff As IntPtr) As Integer

.

        ByRef bufptr As IntPtr, _

.

        ByRef entriesread As Integer, _

.

        ByRef totalentries As Integer, _

.

        ByRef resume_handle As Integer) As Integer

.

            ByRef buf As SHARE_INFO_2, _

.

            ByRef parm_err As Integer) As Integer

.

            ByRef BufPtr As IntPtr,

.

            ByRef entriesread As Integer, _

.

            ByRef totalentries As Integer, _

.

            ByRef resume_handle As Integer) As Integer

.

        ByRef BufPtr As IntPtr, _

.

        ByRef entriesread As Integer, _

.

        ByRef totalentries As Integer, _

.

        ByRef resume_handle As Integer) As Integer

.

        ByRef BufPtr As IntPtr, _

.

        ByRef entriesread As Integer, _

.

        ByRef totalentries As Integer, _

.

        ByRef resume_handle As Integer) As Integer

.

    ByRef BufPtr As IntPtr) As Integer

.

      (ByRef buffer As IntPtr) As Long

.

            ByRef BufPtr As IntPtr) As Integer

.

    ByRef BufPtr As IntPtr) As Integer

.

    (ByRef buffer As IntPtr) As Long

.

    ByRef Buf As IntPtr, _

.

    ByRef EntriesRead As Integer, _

.

    ByRef TotalEntries As Integer, _

.

    ByRef resumeHandle As IntPtr) As NET_API_STATUS

.

    ByRef buf As USER_INFO_1, _

.

    ByRef param_error As Integer) As Integer

.

    ByRef buf As USER_INFO_1, _

.

    ByRef param_error As Integer) As Integer

.

    ByRef bufptr As IntPtr, _

.

    ByRef entriesread As Integer, _

.

    ByRef totalentries As Integer, _

.

    ByRef resume_handle As Integer) As Integer

.

            ByVal level As Integer, ByRef bufptr As IntPtr, _

.

            ByVal prefmaxlen As Integer, ByRef entriesread As Integer, _

.

            ByRef totalentries As Integer) As Integer

.

        ByRef BufPtr As IntPtr) As Integer

.

     ByRef BufPtr As IntPtr) As Integer

.

    (ByRef buffer As IntPtr) As Long

.

    Public Function AccountGetFullName(ByVal MachineName As String, ByVal AccountName As String, ByRef FullName As String) As Boolean

.

            ByRef bufptr As IntPtr, _

.

            ByRef entriesread As Integer, _

.

            ByRef totalentries As Integer) As Integer

.

Shared Function NetWkstaUserEnum(ByVal servername As String, ByVal level As Integer, <System.Runtime.InteropServices.Out()> ByRef bufptr As IntPtr, ByVal prefmaxlen As Integer, <System.Runtime.InteropServices.Out()> ByRef entriesread As Integer, <System.Runtime.InteropServices.Out()> ByRef totalentries As Integer, ByRef resume_handle As Integer) As Integer

.

Declare Function NetWkstaUserGetInfo Lib "netapi32.dll" (ByVal reserved As String, ByVal level As Integer, ByRef lpBuffer As IntPtr) As Integer

gsapi

.

   Private Shared Function gsapi_new_instance(ByRef pinstance As System.IntPtr, ByVal handle As System.IntPtr) As Integer

.

    Declare Auto Function gsapi_revision Lib "gsdll32.dll" (ByRef pVer As GSVersion, ByVal pSize As Integer) As Integer

kernel32

.

    (ByRef lpVersionInformation As OSVERSIONINFOEX) As Boolean

.

Private Shared Function BackupRead(hFile As IntPtr, lpBuffer As IntPtr, nNumberOfBytesToRead As UInteger, ByRef lpNumberOfBytesRead As UInteger, bAbort As Boolean,    bProcessSecurity As Boolean, _

.

    ByRef lpContext As IntPtr) As Boolean

.

     ByVal lpData As IntPtr, ByRef pbCancel As Boolean, _

.

        ByVal lpData As IntPtr, ByRef pbCancel As Boolean, _

.

     ByVal lpData As IntPtr, ByRef pbCancel As Boolean, _

.

        ByVal lpData As IntPtr, ByRef pbCancel As Boolean, _

.

    ByRef lpProcessAttributes As SECURITY_ATTRIBUTES, _

.

    ByRef lpThreadAttributes As SECURITY_ATTRIBUTES, _

.

    <[In]> ByRef lpStartupInfo As STARTUPINFO, _

.

    <[Out]> ByRef lpProcessInformation As PROCESS_INFORMATION) As Boolean

.

Private Shared Function CreateTimerQueueTimer(ByRef phNewTimer As IntPtr, TimerQueue As IntPtr, Callback As WaitOrTimerDelegate, Parameter As IntPtr, DueTime As UInteger, Period As UInteger, _

.

    Shared Function DeviceIoControl(ByVal hDevice As IntPtr, ByVal dwIoControlCode As UInteger, ByVal lpInBuffer As IntPtr, ByVal nInBufferSize As UInteger, ByVal lpOutBuffer As IntPtr, ByVal nOutBufferSize As UInteger, ByRef lpBytesReturned As UInteger, ByVal lpOverlapped As IntPtr) As Boolean

.

    ByVal dwIoControlCode As UInteger, ByRef InBuffer As Long, _

.

    ByVal nInBufferSize As Integer, ByRef OutBuffer As Long, _

.

    ByVal nOutBufferSize As Integer, ByRef pBytesReturned As Integer, _

.

    <[In]()> ByRef lpOverlapped As NativeOverlapped) As Boolean

.

    ByRef pBytesReturned As UInteger, <[In]()> _

.

    ByRef Overlapped As System.Threading.NativeOverlapped) As Boolean

.

   Private Declare Function DeviceIoControl Lib "kernel32" (ByVal hDevice As Integer, ByVal dwIoControlCode As Integer, ByRef lpInBuffer As IntPtr,   ByVal nInBufferSize As Integer, ByRef lpOutBuffer As IntPtr, ByVal nOutBufferSize As Integer, ByRef lpBytesReturned As Integer, ByVal lpOverlapped As IntPtr) As Integer

.

   Private Declare Ansi Function DeviceIoControl Lib "kernel32" (ByVal hDevice As Integer, ByVal dwIoControlCode As Integer, ByVal lpInBuffer As Integer, ByVal nInBufferSize As Integer, ByRef lpOutBuffer As Integer, ByVal nOutBufferSize As Integer, ByRef lpBytesReturned As Integer, ByVal lpOverlapped As Integer) As Integer

.

   Private Declare Function DeviceIoControl Lib "kernel32" (ByVal hDevice As Integer, ByVal dwIoControlCode As Integer, ByRef lpInBuffer As IntPtr, ByVal nInBufferSize As Integer, ByRef lpOutBuffer As DISK_GEOMETRY, ByVal nOutBufferSize As Integer, ByRef lpBytesReturned As Integer, ByVal lpOverlapped As IntPtr) As Integer

.

   Private Declare Function DeviceIoControl Lib "kernel32" (ByVal hDevice As Integer, ByVal dwIoControlCode As Integer, ByRef lpInBuffer As IntPtr, ByVal nInBufferSize As Integer, ByRef lpOutBuffer As GETVERSIONOUTPARAMS, ByVal nOutBufferSize As Integer, ByRef lpBytesReturned As Integer, ByVal lpOverlapped As IntPtr) As Integer

.

   Private Declare Function DeviceIoControl Lib "kernel32" (ByVal hDevice As Integer, ByVal dwIoControlCode As Integer, ByRef lpInBuffer As SENDCMDINPARAMS, ByVal nInBufferSize As Integer, ByRef lpOutBuffer As IntPtr, ByVal nOutBufferSize As Integer, ByRef lpBytesReturned As Integer, ByVal lpOverlapped As IntPtr) As Integer

.

   Private Declare Ansi Function GetVersionEx Lib "kernel32" Alias "GetVersionExA" (ByRef i As OSVERSIONINFO) As Boolean

.

                        <[In]()> ByRef lpFileTime As FILETIME, _

.

                        <Out()> ByRef lpSystemTime As SYSTEMTIME) _

.

    Private Function FindFirstFileEx(ByVal lpFileName As String, ByVal fInfoLevelId As FINDEX_INFO_LEVELS, ByRef lpFindFileData As WIN32_FIND_DATA, ByVal fSearchOp As FINDEX_SEARCH_OPS, lpSearchFilter As Int32, dwAdditionalFlags As Integer) As Int32

.

    Public Shared Function FindFirstFileExW(ByVal lpFileName As String, ByVal fInfoLevelId As FINDEX_INFO_LEVELS, ByRef lpFindFileData As WIN32_FIND_DATAW, ByVal fSearchOp As FINDEX_SEARCH_OPS, lpSearchFilter As IntPtr, dwAdditionalFlags As Integer) As IntPtr

.

    Private Function FindFirstFileEx(ByVal lpFileName As String, ByVal fInfoLevelId As FINDEX_INFO_LEVELS, ByRef lpFindFileData As WIN32_FIND_DATA, ByVal fSearchOp As FINDEX_SEARCH_OPS, lpSearchFilter As Int32, dwAdditionalFlags As Integer) As Int32

.

    Public Shared Function FindFirstFileExW(ByVal lpFileName As String, ByVal fInfoLevelId As FINDEX_INFO_LEVELS, ByRef lpFindFileData As WIN32_FIND_DATAW, ByVal fSearchOp As FINDEX_SEARCH_OPS, lpSearchFilter As IntPtr, dwAdditionalFlags As Integer) As IntPtr

.

    Private Function FindNextFile(ByVal hFindFile As IntPtr, ByRef lpFindFileData As WIN32_FIND_DATA) As Boolean

.

Public Declare Function FindNextFile Lib "kernel32" Alias "FindNextFileA" (ByVal hFindFile As IntPtr, ByRef lpFindFileData As WIN32_FIND_DATA) As Boolean

.

Public Shared Function FormatMessage(ByVal dwFlags As Integer, ByRef lpSource As IntPtr, ByVal dwMessageId As Integer, ByVal dwLanguageId As Integer, ByRef lpBuffer As [String], ByVal nSize As Integer, ByRef Arguments As IntPtr) As Integer

.

Public Shared Function FormatMessage(ByVal dwFlags As Integer, ByVal lpSource As IntPtr, ByVal dwMessageId As Integer, ByVal dwLanguageId As Integer, <MarshalAs(UnmanageType.LPWStr)> ByRef lpBuffer As String, ByVal nSize As Integer, ByVal Arguments As IntPtr) As Integer

.

Public Shared Function FormatMessage(ByVal dwFlags As Integer, ByVal lpSource As IntPtr, ByVal dwMessageId As Integer, ByVal dwLanguageId As Integer, ByRef lpBuffer As StringBuilder, ByVal nSize As Integer, ByVal Arguments As IntPtr) As Integer

.

Public Shared Function FormatMessage(ByVal dwFlags As Integer, ByRef lpSource As IntPtr, ByVal dwMessageId As Integer, ByVal dwLanguageId As Integer, ByRef lpBuffer As [String], ByVal nSize As Integer, ByRef Arguments As IntPtr) As Integer

.

Public Shared Function FormatMessage(ByVal dwFlags As Integer, ByVal lpSource As IntPtr, ByVal dwMessageId As Integer, ByVal dwLanguageId As Integer, <MarshalAs(UnmanageType.LPWStr)> ByRef lpBuffer As String, ByVal nSize As Integer, ByVal Arguments As IntPtr) As Integer

.

Public Shared Function FormatMessage(ByVal dwFlags As Integer, ByVal lpSource As IntPtr, ByVal dwMessageId As Integer, ByVal dwLanguageId As Integer, ByRef lpBuffer As StringBuilder, ByVal nSize As Integer, ByVal Arguments As IntPtr) As Integer

.

    Public Shared Function FormatMessage(ByVal dwFlags As Integer, ByRef lpSource As IntPtr, ByVal dwMessageId As Integer, ByVal dwLanguageId As Integer, ByRef lpBuffer As IntPtr, ByVal nSize As Integer, ByRef Arguments As IntPtr) As Integer

.

        ByRef lpBinaryType As BinaryType _

.

Declare Function GetCommProperties Lib "kernel32" (ByVal hFile As Integer, ByRef lpCommProp As COMMPROP) As Boolean

.

     ByRef lpDCB As DCB) As Boolean

.

<DllImport("kernel32.dll", SetLastError:=True)> Private Shared Function GetCommTimeouts(ByVal hFile As IntPtr, ByRef lpCommTimeouts As COMMTIMEOUTS) As Boolean

.

Private Shared Function GetComputerNameEx(ByVal NameType As COMPUTER_NAME_FORMAT, ByVal lpBuffer As StringBuilder, ByRef lpnSize As UInt32) As Boolean

.

Private Shared Function GetComputerNameEx(ByVal NameType As COMPUTER_NAME_FORMAT, ByVal lpBuffer As StringBuilder, ByRef lpnSize As UInt32) As Boolean

.

Public Shared Function GetExitCodeProcess(ByVal hProcess As IntPtr, ByRef lpExitCode As System.UInt32) As Boolean

.

Declare Function GetExitCodeThread Lib "kernel32.dll" (ByVal hThread As IntPtr, ByRef lpExitCode As UInteger) As Boolean

.

                <[In](), Out()> ByRef lpFileSize As Long) As Boolean

.

                <[In](), Out()> ByRef lpFileSize As Long) As Boolean

.

                        <Out()> ByRef lpCreationTime As FILETIME, _

.

                        <Out()> ByRef lpLastAccessTime As FILETIME, _

.

                        <Out()> ByRef lpLastWriteTime As FILETIME) _

.

Shared Sub GetLocalTime(ByRef time As SYSTEMTIME)

.

   Private Shared Sub GetLocalTime(ByRef time As SYSTEMTIME)

.

Private Declare Sub GetNativeSystemInfo Lib "kernel32" (<MarshalAs(UnmanagedType.Struct)> ByRef lpSystemInfo As SYSTEM_INFO)

.

Private Shared Function GetOverlappedResult(ByVal hFile As IntPtr, <[In]()> ByRef lpOverlapped As System.Threading.NativeOverlapped, ByRef lpNumberOfBytesTransferred As UInteger, ByVal bWait As Boolean) As Boolean

.

Declare Function GetPhysicallyInstalledSystemMemory Lib "kernel32.dll" (ByRef TotalMemoryInKilobytes As ULong) As Boolean

.

Declare Function GetProcessHeaps Lib "kernel32" (ByVal NumberOfHeaps As Integer, ByRef ProcessHeaps As Integer) As Integer

.

Declare Function GetProcessHeaps Lib "kernel32" (ByVal NumberOfHeaps As Integer, ByRef ProcessHeaps As Integer) As Integer

.

Declare Sub GetStartupInfo Lib "kernel32.dll" (<Out> ByRef As STARTUPINFO)

.

  ByRef lpCharType As Int16) As Boolean

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


 
Access PInvoke.net directly from VS: