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]

msi

.

Declare Auto Function MsiGetProductInfo Lib "msi.dll" (ByVal product As String, ByVal [property] As String, <MarshalAs(UnmanagedType.VBByRefStr)> ByRef valueBuf As String, ByRef len As Long) As Int32

.

Private Function MsiSetInternalUI(dwUILevel As INSTALLUILEVEL, ByRef phWnd As IntPtr) As Integer

.

Public Shared Function MsiViewFetch(ByVal hView As Integer, <Out> ByRef hRecord As Integer) As UInt32

ole32

.

   <[In]> ByRef iidResult As Guid, <MarshalAs(UnmanagedType.Interface), Out> ByRef _

.

                           ByRef lplpMessageFilter As IMessageFilter) As Integer

.

Private Declare Function CreateFileMoniker Lib "ole32.dll" (ByVal lpszPathName As String, ByRef ppmk As IMoniker) As Integer

.

                              <Out()> ByRef ppLkbyt As IlockBytes) _

.

    Declare Function CreateStreamOnHGlobal Lib "ole32" (ByVal hGlobal As IntPtr, ByVal fDeleteOnRelease As Boolean, ByRef ppstm As UCOMIStream) As Long

.

    <[In]()> ByRef FMTID As Guid, _

.

    ByRef ppUnk As Object, _

.

    ByRef ppUnk As Object, _

.

    <Out()> ByRef FMTID As Guid) As Integer

setupapi

.

    Private Shared Function CM_Get_DevNode_Status(ByRef status As ULong, ByRef probNum As ULong, ByVal devInst As IntPtr, ByVal Flag As Integer) As Integer

.

                          ByRef DeviceInfoData As SP_DEVINFO_DATA _

.

                          ByRef DeviceInfoData As SP_DEVINFO_DATA _

.

    ByRef ClassGuids As Guid, _

.

    ByRef ClassGuidRequiredSize As Integer) As Boolean

.

    ByRef DeviceInfoData As SP_DEVINFO_DATA) As Boolean

.

    ByRef DeviceInfoData As SP_DEVINFO_DATA) As Boolean

.

    ByRef devInfo As SP_DEVICE_INTERFACE_DATA, ByRef interfaceClassGuid As Guid, _

.

    ByVal memberIndex As UInt32, ByRef deviceInterfaceData As SP_DEVICE_INTERFACE_DATA) As Boolean

.

    ByRef InterfaceClassGuid As Guid, _

.

    ByRef DeviceInterfaceData As SP_DEVICE_INTERFACE_DATA) As Boolean

.

    ByRef ClassGuid As GUID, _

.

    ByRef ClassGuid As GUID, _

.

    ByRef hwndParent As String, _

.

    ByRef ClassGuid As Guid, _

.

                              ByRef DeviceInfoData As SP_DEVINFO_DATA, _

.

                              ByRef DeviceInstallParams As SP_DEVINSTALL_PARAMS _

.

    ByRef deviceInterfaceData As SP_DEVICE_INTERFACE_DATA, _

.

    ByRef deviceInterfaceDetailData As SP_DEVICE_INTERFACE_DETAIL_DATA, _

.

    ByRef requiredSize As Int32, _

.

    ByRef deviceInfoData As SP_DEVINFO_DATA) As Boolean

.

    ByRef DeviceInterfaceData As SP_DEVICE_INTERFACE_DATA, _

.

    ByRef DeviceInterfaceDetailData As SP_DEVICE_INTERFACE_DETAIL_DATA, _

.

    ByRef RequiredSize As UInteger, _

.

    ByRef DeviceInfoData As SP_DEVINFO_DATA) As Boolean '

.

    ByRef DeviceInfoData As SP_DEVINFO_DATA, _

.

    ByRef PropertyRegDataType As Integer, _

.

    ByRef RequiredSize As Integer) As Boolean

.

    ByRef ClassGuid As GUID, _

.

Private Function SetupDiOpenDevRegKey(DeviceInfoSet As IntPtr, ByRef DeviceInfoData As SP_DEVINFO_DATA, Scope As UInteger, HwProfile As UInteger, KeyType As UInteger, samDesired As UInteger) As IntPtr

.

Public Declare Auto Function SetupFindFirstLine Lib "setupapi.dll" (ByVal InfHandle As IntPtr, ByVal Section As String, ByVal Key As String, ByRef Context As INFCONTEXT) As Boolean

.

Public Declare Auto Function SetupFindNextLine Lib "setupapi.dll" (ByRef ContextIn As INFCONTEXT, ByRef ContextOut As INFCONTEXT) As Boolean

.

Public Declare Auto Function SetupFindNextMatchLine Lib "setupapi.dll" (ByRef ContextIn As INFCONTEXT, ByVal Key As String, ByRef ContextOut As INFCONTEXT) As Boolean

.

Public Declare Auto Function SetupGetStringField Lib "setupapi.dll" (ByRef Context As INFCONTEXT, ByVal FieldIndex As Int32, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Int32, ByRef RequiredSize As Int32) As Boolean

.

Public Declare Auto Function SetupOpenInfFile Lib "setupapi.dll" (ByVal FileName As String, ByVal InfClass As String, ByVal InfStyle As Int32, ByRef ErrorLine As UInteger) As IntPtr

gdiplus

.

Declare Function GdipCreateBitmapFromGdiDib Lib "GdiPlus.dll" (ByRef GdiBitmapInfo As BITMAPINFO, ByVal GdiBitmapData As Long, ByRef bitmap As Long) As Status

.

Declare Shared Function GdiplusStartup Lib "gdiplus.dll" (ByRef token As IntPtr, _

.

ByRef input As StartupInput, ByRef output As StartupOutput) As Integer

.

Public Shared Function GdiplusStartup(ByRef token As IntPtr, _

.

                       ByRef input As GdipStartupInput, _

.

                       ByRef output As GdipStartupOutput) _

Structures

.

    Public Shared Function CreateProcessWithTokenW(hToken As IntPtr, dwLogonFlags As Integer, lpApplicationName As String, lpCommandLine As String, dwCreationFlags As Integer, lpEnvironment As IntPtr, lpCurrentDirectory As IntPtr, ByRef lpStartupInfo As STARTUPINFO, ByRef lpProcessInformation As PROCESS_INFORMATION) As Boolean

.

This is named "struct" to be consistent with the Windows API name, but it is defined as a class since it is passed as a pointer (AKA reference) in SetWindowsHookEx and CallNextHookEx. Or it can be defined as a struct and passed with ref (ByRef in VB.NET).

.

    Private Shared Sub DoReaderMode(ByRef prmi As READERMODEINFO)

.

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

.

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

.

    Private Function TranslateDispatchCallback(ByRef lpmsg As MSG) As Boolean

.

    Private Function ReaderScrollCallback(ByRef prmi As READERMODEINFO, dx As Int32, dy As Int32) As Boolean

.

    ByRef lpServiceStatus As SERVICE_STATUS)

.

  Public Function StartDocPrinter(hPrinter As IntPtr, Level As Integer, ByRef pDocInfo As DOC_INFO_1W) As Long

.

  Public Function StartDocPrinter(hPrinter As IntPtr, Level As Integer, ByRef pDocInfo As DOC_INFO_1A) As Long

.

        public unsafe void* byref;

.

    Public unsafe void* byref

mpr

.

Declare Function WNetAddConnection2 Lib "mpr.dll" (ByRef netResource As _

.

                           ByRef lpNetResource As NETRESOURCE, _

.

Public Shared Function WNetEnumResource(hEnum As IntPtr, ByRef lpcCount As Integer, lpBuffer As IntPtr, ByRef lpBufferSize As UInteger) As UInteger

.

    Public Function WNetEnumResource(ByVal hEnum As IntPtr, ByRef lpcCount As Integer, ByVal lpBuffer As IntPtr, ByRef lpBufferSize As Integer) As Integer

.

    Public Function WNetOpenEnum(ByVal dwScope As RESOURCE_SCOPE, ByVal dwType As RESOURCE_TYPE, ByVal dwUsage As RESOURCE_USAGE, ByRef lpNetResource As NETRESOURCE, ByRef lphEnum As IntPtr) As Integer

.

    Public Function GetNetworkDrives(ByRef o As NETRESOURCE, ByRef networkDriveCollection As List(Of String)) As Boolean

.

    Public Function GetNetworkComputers(ByRef o As NETRESOURCE, ByRef networkComputersCollection As List(Of String)) As Boolean

.

    Public Function WNETOE(ByRef o As NETRESOURCE, ByRef resourceCollection As List(Of String)) As Boolean

.

                      ByRef length As Integer) As Integer

.

    Declare Function WNetGetConnection Lib "mpr.dll" Alias "WNetGetConnectionA" (ByVal localName As String, ByVal remoteName As System.Text.StringBuilder, ByRef length As Integer) As Integer

.

    ByVal remoteName As System.Text.StringBuilder, ByRef length As Integer) As Integer

.

                      ByRef length As Integer) As Integer

.

Declare Function WNetGetLastError Lib "mpr.dll" Alias "WNetGetLastErrorA" (ByRef lpError As Integer, ByVal lpErrorBuf As String, ByVal nErrorBufSize As Integer, ByVal lpNameBuf As String, ByVal nNameBufSize As Integer) As Integer

.

Public Shared Function WNetOpenEnum(dwScope As ResourceScope, dwType As ResourceType, dwUsage As ResourceUsage, lpNetResource As NetResource, ByRef lphEnum As IntPtr) As UInteger

dhcpsapi

.

   Private Declare Function NetApiBufferAllocate Lib "NETAPI32.DLL" (ByVal ByteCount As Integer, ByRef Buffer As Integer) As Integer

.

Declare Unicode Function DhcpEnumSubnetClients Lib "Dhcpsapi" (ByVal ServerIpAddress As String, ByVal SubnetAddress As Integer, ByRef ResumeHandle As Integer, ByVal PreferredMaximum As Integer, ByRef ClientInfo As IntPtr, ByRef ClientsRead As Integer, ByRef ClientsTotal As Integer) As Integer

.

Declare Unicode Function DhcpEnumSubnetClients Lib "dhcpsapi" (ByVal ServerIpAddress As String, ByVal SubnetAddress As Int32, ByRef ResumeHandle As IntPtr, ByVal PreferredMaximum As Integer, ByRef ClientInfo As IntPtr, ByRef ClientsRead As Integer, ByRef ClientsTotal As Integer) As Integer

.

Declare Unicode Function DhcpEnumSubnets Lib "Dhcpsapi" (ByVal ServerIpAddress As String, ByRef ResumeHandle As Integer, ByVal PreferredMaximum As Integer, ByRef EnumInfo As IntPtr, ByRef ElementsRead As Integer, ByRef ElementsTotal As Integer) As Integer

.

        ByRef SearchInfo As DHCP_SEARCH_INFO, _

.

        ByRef ClientInfo As IntPtr) As UInt32

.

    ByRef MajorVersion As Integer, _

.

    ByRef MinorVersion As Integer) As Integer

secur32

.

   userName As StringBuilder, ByRef userNameSize As Integer) As Integer

.

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

.

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

powrprof

.

                ByRef BufferSize As UInteger) As UInteger

.

    Declare Function PowerGetActiveScheme Lib "powrprof.dll" (ByVal UserRootPowerKey As IntPtr, ByRef ActivePolicyGuid As IntPtr) As Integer

.

    "PowerReadFriendlyName" (RootPowerKey As IntPtr, ByRef SchemeGuid As Guid, _

.

                Buffer As IntPtr, ByRef BufferSize As UInteger) As UInteger

.

<DllImport("powrprof.dll", SetLastError:=True)> Private Shared Function ReadGlobalPwrPolicy(ByRef pGlobalPowerPolicy As GLOBAL_POWER_POLICY) As Boolean

.

Declare Function ReadGlobalPwrPolicy Lib "powrprof" (ByRef pGlobalPowerPolicy As GLOBAL_POWER_POLICY) As Boolean

.

<DllImport("powrprof.dll", SetLastError:=True)> Private Shared Function WriteGlobalPwrPolicy(ByRef pGlobalPowerPolicy As GLOBAL_POWER_POLICY) As Boolean

.

Declare Function WriteGlobalPwrPolicy Lib "powrprof" (ByRef pGlobalPowerPolicy As GLOBAL_POWER_POLICY) As Boolean

mapi32

.

                      ByRef session As Integer) As Integer

.

   ByVal flFlags As UInteger, ByVal ulReserved As UInteger, ByRef lppMessage As IntPtr) As UInteger

query

.

                               ByRef ppIUnk As IFilter) As Integer

rpcrt4

.

Declare Function UuidCreate Lib "rpcrt4.dll" (ByRef id As UUID) As Integer

.

Declare Function UuidCreateSequential Lib "rpcrt4.dll" (ByRef id As Guid) As Integer

.

Declare Function UuidCreateSequential Lib "rpcrt4.dll" (ByRef id As Guid) As Integer

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


 
Access PInvoke.net directly from VS: