Desktop Functions: Smart Device Functions:
|
Search Results for "ByRef" in [All]irprops
<[In]()> ByRef searchParams As BluetoothDeviceSearchParams, _
ByRef deviceInfo As BluetoothDeviceInfo) As IntPtr
<[In]()> ByRef findRadioParams As BluetoothFindRadioParams, _
<Out()> ByRef hRadio As IntPtr) As IntPtr
ByRef pbtdi As BluetoothDeviceInfo) As Integer
ByRef pRadioInfo As BluetoothRadioInfo) As UInteger rasapi32Private 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, _ oleaut3210: GetActiveObject
ByRef rclsid As Guid, pvReserved As IntPtr, _ 11: LoadTypeLib
Declare Unicode Function LoadTypeLib Lib "oleaut32.dll" (ByVal szFile As String, ByRef TPpTypeLib As System.Runtime.InteropServices.ComTypes.ITypeLib) As Integer 12: SysFreeString
Declare Function SysFreeString Lib "oleaut32.dll" (ByRef bstr as String) 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
Private Declare Unicode Function LoadTypeLib Lib "oleaut32.dll" (ByVal TLpszModule As String, ByRef TPpTypeLib As ComTypes.ITypeLib2) 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 14: VarBstrFromDisp
Declare Function VarBstrFromDisp Lib "oleaut32.dll" (Byval Disp as IntPtr, Byval lcid As Integer, Byref pbstrOut as String) As Integer If you write a COM interface which will be used by Javascript or Vbscript, you really need this function. Automation variables are very difficult to manage and they are passed by reference (VT_BYREF) or as Dispatch (VT_DISPATCH) or as a number while you just need, e.g. a string. aygshell16: SndGetSound
Private Shared Function SndGetSound(ByVal seSoundEvent as SoundEvent, ByRef pSoundFileInfo as SNDFILEINFO) as UInteger 17: SndSetSound
Private Shared Function SndSetSound(ByVal seSoundEvent as SoundEvent, ByRef pSoundFileInfo as SNDFILEINFO, ByVal fSuppressUI as Boolean) as UInteger credui
Public Shared Function CredPackAuthenticationBuffer(ByVal dwFlags As UInt32, ByVal pszUserName As String, ByVal pszPassword As String, ByVal pPackedCredentials As IntPtr, ByRef pcbPackedCredentials As UInt32) As <MarshalAs(UnmanagedType.Bool)> Boolean
Declare Function CredUIPromptForCredentialsW Lib "credui.dll" (byref creditUR AS CREDUI_INFO, _
<MarshalAs(UnmanagedType.Bool)> byref pfSave AS Boolean, _
Declare Function CredUIPromptForCredentialsW Lib "credui.dll" (byref creditUR AS CREDUI_INFO, _
byref UserName as StringBuilder, _
byref password AS StringBuilder, _
<MarshalAs(UnmanagedType.Bool)> byref pfSave AS Boolean, _
Public Shared Function CredUIPromptForWindowsCredentials(ByRef pUiInfo As CREDUI_INFO, _
ByRef pulAuthPackage As UInt32, _
ByRef ppvOutAuthBuffer As IntPtr, _
ByRef pulOutAuthBufferSize As UInt32, _
<MarshalAs(UnmanagedType.Bool)> ByRef pfSave As Boolean, _
ByVal pszUserName As StringBuilder, ByRef pcchMaxUserName As UInt32, _
ByVal pszDomainName As StringBuilder, ByRef pcchMaxDomainName As UInt32, _
ByVal pszPassword As StringBuilder, ByRef pcchMaxPassword As UInt32) As <MarshalAs(UnmanagedType.Bool)> Boolean kernel3223: APIGetVersionEx
(ByRef lpVersionInformation As OSVERSIONINFOEX) As Boolean 24: BackupRead
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 25: CopyFile
ByVal lpData As IntPtr, ByRef pbCancel As Boolean, _
ByVal lpData As IntPtr, ByRef pbCancel As Boolean, _ 26: CopyFileEx
ByVal lpData As IntPtr, ByRef pbCancel As Boolean, _
ByVal lpData As IntPtr, ByRef pbCancel As Boolean, _ 27: CreateProcess
ByRef lpProcessAttributes As SECURITY_ATTRIBUTES, _
ByRef lpThreadAttributes As SECURITY_ATTRIBUTES, _
<[In]> ByRef lpStartupInfo As STARTUPINFO, _
<[Out]> ByRef lpProcessInformation As PROCESS_INFORMATION) As Boolean 28: CreateTimerQueue
Private Shared Function CreateTimerQueueTimer(ByRef phNewTimer As IntPtr, TimerQueue As IntPtr, Callback As WaitOrTimerDelegate, Parameter As IntPtr, DueTime As UInteger, Period As UInteger, _ 29: DeviceIoControl
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) _ 31: FindFirstFile
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 32: FindFirstFileEx
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 33: FindNextFile
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 35: FormatMessage
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 36: GetBinaryType
ByRef lpBinaryType As BinaryType _
Declare Function GetCommProperties Lib "kernel32" (ByVal hFile As Integer, ByRef lpCommProp As COMMPROP) As Boolean 38: GetCommState
ByRef lpDCB As DCB) As Boolean 39: GetCommTimeouts
<DllImport("kernel32.dll", SetLastError:=True)> Private Shared Function GetCommTimeouts(ByVal hFile As IntPtr, ByRef lpCommTimeouts As COMMTIMEOUTS) As Boolean 40: GetComputerName
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 42: GetCurrentThread
Declare Function GetCurrentThreadStackLimits Lib "kernel32.dll" (ByRef lowLimit As UInteger, ByRef highLimit As UInteger)
Public Shared Function GetExitCodeProcess(ByVal hProcess As IntPtr, ByRef lpExitCode As System.UInt32) As Boolean 44: GetFileSize
<[In](), Out()> ByRef lpFileSize As Long) As Boolean 45: GetFileSizeEx
<[In](), Out()> ByRef lpFileSize As Long) As Boolean 46: GetFileTime
<Out()> ByRef lpCreationTime As FILETIME, _
<Out()> ByRef lpLastAccessTime As FILETIME, _
<Out()> ByRef lpLastWriteTime As FILETIME) _ 47: GetLocalTime
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 50: GetProcessHeap
Declare Function GetProcessHeaps Lib "kernel32" (ByVal NumberOfHeaps As Integer, ByRef ProcessHeaps As Integer) As Integer 51: GetProcessHeaps
Declare Function GetProcessHeaps Lib "kernel32" (ByVal NumberOfHeaps As Integer, ByRef ProcessHeaps As Integer) As Integer 52: GetStartupInfo
Declare Sub GetStartupInfo Lib "kernel32.dll" (<Out> ByRef _ 53: GetStringType
ByRef lpCharType As Int16) As Boolean 54: GetStringTypeEx
ByRef lpCharType As Int16) As Boolean 55: GetVersion
Private Shared Function GetVersionEx(ByRef osvi As OSVERSIONINFO) As Boolean 56: GetVersionEx
Private Shared Function GetVersionEx(ByRef osvi As OSVERSIONINFO) As Boolean
ByRef VolumeSerialNumber As UInt32, _
ByRef MaximumComponentLength As UInt32, _
ByRef FileSystemFlags As UInt32, _
ByRef VolumeName As String, _
ByRef VolumeSerialNumber As String, _
ByRef MaxComponentLength As UInt32, _
ByRef FileSystemFlags As UInt32, _
ByRef FileSystemName As String)
<Out()> ByRef uintReturnLen As UInteger) _
ByRef uintReturnLen As UInteger) _
<Out()> ByRef uintReturnLen As UInteger) _
ByRef uintReturnLen As UInteger) _ 60: IsWow64Process
ByRef wow64Process As Boolean) As <MarshalAs(UnmanagedType.Bool)> Boolean Cut off search results after 60. Please refine your search. |