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

rasapi32

.

Private Declare Auto Function RasEnumDevices Lib "rasapi32.dll" (ByVal lpRasDevInfo As IntPtr, ByRef lpcb As Integer, ByRef lpcDevices As Integer) As Integer

.

     ByRef lpc As Int32, _

.

     ByRef lpcEntries As Int32) As ReturnCodes

.

     ByRef lpStatistics As RAS_STATS) As UInt32

.

    <[In](), Out()> ByRef lprasdialparams As RASDIALPARAMS, _

.

    <Out()> ByRef lpfPassword As Boolean) As Integer

.

                          ByRef lpdwEntrySize As UInt32, _

aygshell

.

Private Shared Function SndGetSound(ByVal seSoundEvent as SoundEvent, ByRef pSoundFileInfo as SNDFILEINFO) as UInteger

.

Private Shared Function SndSetSound(ByVal seSoundEvent as SoundEvent, ByRef pSoundFileInfo as SNDFILEINFO, ByVal fSuppressUI as Boolean) as UInteger

psapi

.

Public Shared Function EnumProcesses(<MarshalAs(UnmanagedType.LPArray, ArraySubType:=UnmanagedType.U4), [In](), [Out]()> ByVal processIds As Integer(), ByVal size As Integer, <[Out]()> ByRef needed As Integer) As Boolean

.

Public Shared Function EnumProcessModules(ByVal hProcess As IntPtr, <MarshalAs(UnmanagedType.LPArray, ArraySubType := UnmanagedType.U4)> <[In]()> <Out()> ByVal lphModule As UInteger(), ByVal cb As UInteger, <MarshalAs(UnmanagedType.U4)> ByRef lpcbNeeded As UInteger) As Boolean

.

Public Shared Function GetModuleInformation(ByVal hProcess As IntPtr, ByVal hModule As IntPtr, ByRef lpModInfo As MODULEINFO, cb As UInteger) As Boolean

.

Declare Function GetProcessMemoryInfo Lib "PSAPI.DLL" (ByVal hProcess As Integer, ByRef ppsmemCounters As PROCESS_MEMORY_COUNTERS, ByVal cb As Integer ) As Integer

secur32

.

   userName As StringBuilder, ByRef userNameSize As Integer) As Byte

.

  ByVal userName As System.Text.StringBuilder, ByRef userNameSize As Integer) As Byte

.

Private Shared Function InitializeSecurityContext(ByRef phCredential As SECURITY_HANDLE, _

.

    ByRef phNewContext As SECURITY_HANDLE, _

.

    ByRef pOutput As SecBufferDesc, _

.

    ByRef pfContextAttr As UInteger, _

.

    ByRef ptsExpiry As SECURITY_INTEGER) As Integer

Delegates

.

Private Delegate Function EnhMetaFileProc(ByVal hdc As IntPtr, ByVal lpht As IntPtr, <[In]> ByRef lpmr As ENHMETARECORD, ByVal hHandles As Integer, ByVal data As IntPtr) As Integer

.

Private Delegate Function EnumFontExDelegate(ByRef lpelfe As ENUMLOGFONTEX, ByVal lpntme As IntPtr, ByVal FontType As Integer, ByVal lParam As Integer) As Integer

.

Private Delegate Function EnumWindowsProc(ByVal hWnd As IntPtr, ByRef lParam As IntPtr) As Boolean

.

Private Delegate Function PwrSchemesEnumProc(ByVal uiIndex As UInteger, ByVal dwName As UInt32, <MarshalAs(UnmanagedType.LPWStr)> ByVal sName As String, ByVal dwDesc As UInt32, MarshalAs(UnmanagedType.LPWStr)> ByVal sDesc As String, ByRef pp As PowerPolicy, ByVal lParam As Integer) As Boolean

.

Private Delegate Function ReaderScrollCallbackDelegate(ByRef prmi As READERMODEINFO, dx As Integer, dy As Integer) As Boolean

.

Private Delegate Sub TimerEventHandler(ByVal id As UInt32, ByVal msg As UInt32, ByRef userCtx As UInt32, ByVal rsv1 As UInt32, ByVal rsv2 As UInt32)

.

Private Delegate Function TranslateDispatchCallbackDelegate(ByRef lpmsg As MSG) As Boolean

shell32

.

    ByRef pNumArgs As Integer) As Long

.

      ByRef index As Short) As IntPtr

.

            ByRef phiconLarge() As IntPtr, _

.

            ByRef phiconSmall() As IntPtr, _

.

         ByRef phiconLarge As Integer, _

.

         ByRef phiconSmall As Integer, _

.

Private Shared Function FindExecutable(ByVal lpFile As String, ByVal lpDirectory As String, ByRef lpResult As StringBuilder) As IntPtr

.

Declare Unicode Function PickIconDlg Lib "Shell32" Alias "PickIconDlg" (ByVal hwndOwner As IntPtr, ByVal lpstrFile As String, ByVal nMaxFile As Integer, ByRef lpdwIconIndex As Integer) As Integer

.

  Shared Function SHAppBarMessage(ByVal dwMessage As Integer, ByRef pData As APPBARDATA) As Integer

.

    Shared Function SHAppBarMessage(ByVal dwMessage As Integer, ByRef pData As APPBARDATA) As Integer

.

    Friend Sub New(ByRef DockForm As System.Windows.Forms.Form, ByVal dockStyle As AppBarDockStyle, ByVal AppBarSize As Size)

.

    Friend Sub RegisterBar(ByVal hWnd As IntPtr, ByRef uCallbackMessage As Int32, ByVal idealSize As Size, ByVal DockEdge As ABEdge)

.

    Friend Function GetWinTaskbarState(ByRef WinTaskBar As TaskbarState) As Boolean

.

    ByRef riid As Guid, _

.

    ByRef ppv As IntPtr, _

.

    ByRef pidlLast As IntPtr) As Integer

.

    ByRef ppv As IntPtr, _

.

    ByRef ppidlLast As IntPtr) As Integer

.

Public Shared Function SHBrowseForFolder(<MarshalAs(UnmanagedType.Struct)>ByRef lpFileOp As BROWSEINFO) As IntPtr

.

         <MarshalAs(UnmanagedType.Interface, IidParameterIndex:=2)> ByRef ppv As IShellItem)

.

Public Function ShellExecuteEx(ByRef lpExecInfo As SHELLEXECUTEINFO) As Boolean

.

    Public Shared Function ShellExecuteEx(ByRef lpExecInfo As SHELLEXECUTEINFO) As Boolean

.

Shared Function Shell_NotifyIcon(dwMessage as UInteger, ByRef pnid as NOTIFYICONDATA) as Boolean

.

Public Function SHFileOperation(<MarshalAs(UnmanagedType.Struct)>ByRef lpFileOp As SHFILEOPSTRUCT) As Integer

.

  Function SHGetDesktopFolder(ByRef ppshf As IShellFolder) As Integer

.

      ByRef psfi As SHFILEINFO, _

.

Declare Function SHGetImageList Lib "shell32.dll" (ByVal iImageList As Long, ByRef riid As Long, ByRef ppv As Any) As Long

.

Declare Function SHGetImageListXP Lib "shell32.dll" Alias "#727" (ByVal iImageList As Long, ByRef riid As Long, ByRef ppv As Any) As Long

.

    ByRef ppszPath As IntPtr ' must be freed with Marshal.FreeCoTaskMem

.

   ByRef ppszName As System.IntPtr) As Integer

.

   ByRef ppszName As System.IntPtr) As Integer

.

ByRef ppidl As System.IntPtr, _

.

ByRef psfgaoOut As SFGAO) As Integer

.

   hToken As IntPtr, dwReserved As UInteger, ByRef ppidl As IntPtr) As Integer

.

<DllImport("shell32.dll")> Shared Sub SHGetSetSettings(ByRef lpss As SHELLSTATE, ByVal dwMask As SSF, ByVal bSet As Boolean)

.

                  <MarshalAs(UnmanagedType.Struct)>ByRef ppidl As ITEMIDLIST) As Integer

.

   Optional ByRef DisplayName As String = "", _

.

    Optional ByRef TypeName As String = "") As String

.

    Public Shared Function SHParseDisplayName(<MarshalAs(UnmanagedType.LPWStr)> ByVal pszName As String, ByVal pbc As IntPtr, ByRef ppidl As IntPtr, ByVal sfgaoIn As UInteger, ByRef psfgaoOut As UInteger) As Integer

.

Private Shared Sub SHParseDisplayName(<MarshalAs(UnmanagedType.LPWStr)> ByVal name As String, ByVal bindingContext As IntPtr, <Out()> ByRef pidl As IntPtr, ByVal sfgaoIn As UInt32, <Out()> ByRef sfgaoOut As UInt32)

.

Declare Function SHParseDisplayName Lib "shell32.dll" (ByVal pszName As Long, Optional ByVal pbc As Long, Optional ByRef ppidl As Long, Optional ByVal sfgaoIn As Long, Optional ByRef psfgaoOut As Long) As Long

dwmapi

.

Private Shared Function DwmDefWindowProc(ByVal hWnd As IntPtr, ByVal msg As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr, ByRef plResult As IntPtr) As Integer

.

Private Shared Sub DwmEnableBlurBehindWindow(ByVal hwnd As IntPtr, ByRef blurBehind As DWM_BLURBEHIND)

.

Private Shared Function DwmExtendFrameIntoClientArea(ByVal hwnd As IntPtr, ByRef margins As MARGINS) As Integer

.

Private Shared Sub DwmGetColorizationColor(ByRef ColorizationColor As UInteger, ByRef ColorizationOpaqueBlend As Boolean)

.

Private Shared Function DwmIsCompositionEnabled(ByRef enabled As Boolean) As Integer

.

Public Shared Sub DwmQueryThumbnailSourceSize(ByVal hThumbnail as IntPtr, ByRef size as Size);

.

Declare Function DwmRegisterThumbnail Lib "dwmapi.dll" (ByVal Dest as IntPtr, ByVal Src as IntPtr, ByRef Thumb as IntPtr) As Integer

.

Public Declare Function DwmUpdateThumbnailProperties Lib "dwmapi.dll" (ByVal hThumbnail as IntPtr, ByRef props as DWM_THUMBNAIL_PROPERTIES) As Integer

iphlpapi

.

    Public Shared Function EnableRouter(pHandle As IntPtr, ByRef pOverlapped As OVERLAPPED) As Integer

.

    Public Shared Function EnableRouter(pHandle As IntPtr, ByRef pOverlapped As OVERLAPPED) As Integer

.

     ByRef pBufOutLen As UInt64) As Int32

.

Public Shared Function GetExtendedTcpTable(ByVal pTcpTable As IntPtr, ByRef dwOutBufLen As Integer, ByVal sort As Boolean, ByVal ipVersion As  Integer, ByVal tblClass As TCP_TABLE_CLASS, ByVal reserved As Integer) As UInteger

.

GetIpAddrTable Lib "iphlpapi.dll" (ByRef ipTable As IntPtr, ByRef tableSize As IntPtr, ByVal ordered As Boolean) As UInt32

.

    Private Shared Function GetIpNetTable(pIpNetTable As IntPtr, <MarshalAs(UnmanagedType.U4)> ByRef pdwSize As Integer, bOrder As Boolean) As <MarshalAs(UnmanagedType.U4)> Integer

.

    Public Shared Function GetNetworkParams(pFixedInfo As IntPtr, ByRef pBufOutLen As Integer) As Integer

.

    Private Shared Function GetNetworkParams(pFixedInfo As IntPtr, ByRef pBufOutLen As Integer) As Integer

.

      ByVal pMacAddr As Byte(), ByRef PhyAddrLen As Integer) As Integer

.

    Public Shared Function UnenableRouter(pOverlapped As IntPtr, ByRef lpdwEnableCount As Long) As Integer

.

    Public Shared Function UnenableRouter(pOverlapped As IntPtr, ByRef lpdwEnableCount As Long) As Integer

msdrm

.

   <Out()> ByRef phClient As IntPtr) As IntPtr

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


 
Access PInvoke.net directly from VS: