Desktop Functions: Smart Device Functions:
|
Search Results for "UInt32" in [All]hid
Public Shared Function HidD_GetFeature(hidDeviceObject As SafeFileHandle, ByVal reportBuffer As Byte(), ByVal reportBufferLength As UInt32) As Boolean ntdsapi2: DsBind
public static extern UInt32 DsBindWithCred(
public static extern UInt32 DsBindWithCred( 4: DsCrackNames
ByVal cNames As UInt32, _
public static extern UInt32 DsMakePasswordCredentials( 6: DsUnBind
public static extern UInt32 DsUnBind( gdi32
ByRef pbmi As BITMAPINFO, ByVal iUsage As System.UInt32, _
ByVal dwOffset As System.UInt32) As Int32
public UInt32 ntmFlags;
public UInt32 ntmSizeEM;
public UInt32 ntmCellHeight;
public UInt32 ntmAvgWidth;
public extern static Int32 EnumFontFamiliesEx(IntPtr hdc, ref LOGFONT lpLogfont, FONTENUMPROC lpEnumFontFamExProc, IntPtr lParam, UInt32 dwFlags);
public delegate Int32 FONTENUMPROC(ref ENUMLOGFONT lpelf, ref NEWTEXTMETRIC lpntm, UInt32 FontType, IntPtr lParam);
public UInt32 ntmFlags;
public UInt32 ntmSizeEM;
public UInt32 ntmCellHeight;
public UInt32 ntmAvgWidth;
public extern static Int32 EnumFontFamiliesEx(IntPtr hdc, ref LOGFONT lpLogfont, FONTENUMPROC lpEnumFontFamExProc, IntPtr lParam, UInt32 dwFlags);
public delegate Int32 FONTENUMPROC(ref ENUMLOGFONT lpelf, ref NEWTEXTMETRIC lpntm, UInt32 FontType, IntPtr lParam); 10: TextOut
Private Shared Function SetBkColor(ByVal hdc As IntPtr, ByVal crColor As Integer) As UInt32
Private Shared Function SetTextColor(ByVal hdc As IntPtr, ByVal crColor As Integer) As UInt32 irprops
internal UInt32 dwSize;
this.dwSize = (UInt32)Marshal.SizeOf(typeof(BLUETOOTH_FIND_RADIO_PARAM));
private static extern UInt32 BluetoothGetRadioInfo(IntPtr hRadio, ref Bluetooth_Radio_Info pRadioInfo); coredll
Declare Function CeGetUserNotificationHandles Lib "coredll" (ByVal rghNotifications As IntPtr(), ByVal chandles As UInt32, ByRef pcHandlesNeeded As UInt32) As Boolean
notificationTrigger.Size = (UInt32)Marshal.SizeOf( notificationTrigger ); // This line needs the compile switch /unsafe
notificationTrigger.Size = (UInt32)Marshal.SizeOf( notificationTrigger ); // This line needs the compile switch /unsafe
public UInt32 Size = 0;
public UInt32 Type = 0;
public UInt32 Event = 0;
public UInt32 ActionFlags;
public UInt32 MaxSound;
public UInt32 Reserved;
Public Function GetUInt32(ByVal offset As Integer) As UInt32
Return BitConverter.ToUInt32(m_data, offset)
Public Sub SetUInt32(ByVal offset As Integer, ByVal val As UInt32)
ElseIf t.BaseType.ToString = "UInt32" Then
Return GetUInt32(offset)
ElseIf t.BaseType.ToString = "UInt32" Then
SetUInt32(offset, DirectCast(Val, UInt32))
'Return DirectCast(GetUInt32(72), DM_Fields)
SetUInt32(72, CInt(value))
Return GetUInt32(168)
SetUInt32(168, value)
Return GetUInt32(172)
SetUInt32(172, value)
Return GetUInt32(176)
SetUInt32(176, value)
Return GetUInt32(180)
SetUInt32(180, value)
Return GetUInt32(184)
SetUInt32(184, value)
'Return DirectCast(GetUInt32(188), DMD)
SetUInt32(188, CInt(value)) 19: CreateFile
static extern IntPtr CreateFile(String lpFileName, UInt32 dwDesiredAccess, UInt32 dwShareMode, IntPtr lpSecurityAttributes, UInt32 dwCreationDisposition, UInt32 dwFlagsAndAttributes, IntPtr hTemplateFile);
internal static extern bool GetModuleHandleEx(UInt32 dwFlags, string lpModuleName, out IntPtr phModule);
Friend Shared Function GetModuleHandleEx(ByVal dwFlags As UInt32, ByVal lpModuleName As String, ByRef phModule As IntPtr) As Boolean
internal static extern bool GetModuleHandleEx(UInt32 dwFlags, string lpModuleName, out IntPtr phModule);
(ByRef lpdwStorePages As UInt32, _
ByRef ldpwRamPages As UInt32, _
ByRef ldpwPageSize As UInt32) As Integer
ref UInt32 lpdwStorePages,
ref UInt32 lpdwRamPages,
ref UInt32 lpdwPageSize 24: GetWindowLong
static extern System.UInt32 GetWindowLong(IntPtr hWnd, int nIndex);
Private Shared Function GetWindowLong(ByVal hWnd As IntPtr, ByVal nIndex As Integer) As System.UInt32 25: lineClose According to MSDN, line methods return LONG, which translates to Int32 in the .NET world. The possible error results, however, go over the capacity of a 32-bit integer. The header files show them as positive, but MSDN pages suggest that they are negative, which further suggests that perhaps they are meant to overflow. Because having variables overflow on purpose isn't very .NET-like, and C++ examples show that the result of this method is often assigned to a DWORD which translates to a UInt32 in .NET, it's safe to assume that we can have uint as the return type for this pinvoke. 26: lineInitializeEx According to MSDN, line methods return LONG, which translates to Int32 in the .NET world. The possible error results, however, go over the capacity of a 32-bit integer. The header files show them as positive, but MSDN pages suggest that they are negative, which further suggests that perhaps they are meant to overflow. Because having variables overflow on purpose isn't very .NET-like, and C++ examples show that the result of this method is often assigned to a DWORD which translates to a UInt32 in .NET, it's safe to assume that we can have uint as the return type for this pinvoke. According to MSDN, line methods return LONG, which translates to Int32 in the .NET world. The possible error results, however, go over the capacity of a 32-bit integer. The header files show them as positive, but MSDN pages suggest that they are negative, which further suggests that perhaps they are meant to overflow. Because having variables overflow on purpose isn't very .NET-like, and C++ examples show that the result of this method is often assigned to a DWORD which translates to a UInt32 in .NET, it's safe to assume that we can have uint as the return type for this pinvoke. 28: lineOpen According to MSDN, line methods return LONG, which translates to Int32 in the .NET world. The possible error results, however, go over the capacity of a 32-bit integer. The header files show them as positive, but MSDN pages suggest that they are negative, which further suggests that perhaps they are meant to overflow. Because having variables overflow on purpose isn't very .NET-like, and C++ examples show that the result of this method is often assigned to a DWORD which translates to a UInt32 in .NET, it's safe to assume that we can have uint as the return type for this pinvoke. 29: lineShutDown According to MSDN, line methods return LONG, which translates to Int32 in the .NET world. The possible error results, however, go over the capacity of a 32-bit integer. The header files show them as positive, but MSDN pages suggest that they are negative, which further suggests that perhaps they are meant to overflow. Because having variables overflow on purpose isn't very .NET-like, and C++ examples show that the result of this method is often assigned to a DWORD which translates to a UInt32 in .NET, it's safe to assume that we can have uint as the return type for this pinvoke. 30: PlaySound
Private Enum PlaySoundFlags As UInt32
internal static extern UInt32 RasEnumConnections([In, Out] _RASCONN[] lprasconn, ref UInt32 lpcb, ref UInt32 lpcConnections);
private UInt32 m_size;
obj.m_size = System.Convert.ToUInt32(Marshal.SizeOf(typeof(_RASCONN)));
UInt32 size = 0, noelements = 0;
size = System.Convert.ToUInt32(Marshal.SizeOf((rasconn = new _RASCONN[1])[0] = _RASCONN.CreateStruct()));
size = System.Convert.ToUInt32(Marshal.SizeOf((rasconn = new _RASCONN[size / Marshal.SizeOf(typeof(_RASCONN))])[0] = _RASCONN.CreateStruct()) * rasconn.Length);
public UInt32 dwSize;
public UInt32 dwError;
status.dwSize = (UInt32)Marshal.SizeOf(status); 33: RegFlushKey
Declare Function RegFlushKey Lib "CoreDll.dll" (ByVal hkey As IntPtr) As UInt32
Declare Function RegFlushKey Lib "coredll" (ByVal hkey As IntPtr) As UInt32
Declare Function SetSystemMemoryDivision Lib "coredll.dll" (dwStorePages As UInt32) As UInt32
36: SignalStarted
static extern void SignalStarted(UInt32 dw);
Declare Sub SignalStarted Lib "coredll.dll" (ByVal dw As UInt32) private static extern void SignalStarted(UInt32 dw);
static extern int WaitForMultipleObjects(UInt32 nCount, IntPtr[] lpHandles, Boolean fWaitAll, UInt32 dwMilliseconds);
Int32 result = WaitForMultipleObjects((UInt32)handles.Length, handles, false, INFINITE); 38: WriteFile
static extern Boolean WriteFile(IntPtr fFile, Byte[] lpBuffer, UInt32 nNumberOfBytesToWrite,
out UInt32 lpNumberOfBytesWritten, IntPtr lpOverlapped); setupapi39: CM_Get_Child
static extern int CM_Get_Child(out UInt32 pdnDevInst, UInt32 dnDevInst, int ulFlags); 40: CM_Get_Device_ID
static extern int CM_Get_Device_ID_Size(out int pulLen, UInt32 dnDevInst, int flags = 0);
// devInst is an uint32 - this matters on 64-bit
static extern int CM_Get_DevNode_Status(out UInt32 status, out UInt32 probNum, UInt32 devInst, int flags); 42: CM_Get_Parent
out UInt32 pdnDevInst,
UInt32 dnDevInst,
UInt32 ptrPrevious; 43: CM_Get_Sibling
static extern int CM_Get_Sibling(out UInt32 pdnDevInst, UInt32 dnDevInst, int ulFlags);
static extern UInt32 CM_Reenumerate_DevNode_Ex(UInt32 dnDevInst, UInt32 ulFlags, IntPtr hMachine);
Declare Function CM_Reenumerate_DevNode_Ex Lib "setupapi.dll" (dnDevInst As UInt32, ulFlags As UInt32, hMachine As IntPtr) As UInt32
UInt32 devRoot;
static extern int CM_Request_Device_Eject(UInt32 devinst, out PNP_VETO_TYPE pVetoType, System.Text.StringBuilder pszVetoName, int ulNameLength, int ulFlags);
Dim ErrorLine As UInt32 = 0
UInt32 Flags,
UInt32 ClassGuidListSize,
out UInt32 RequiredSize);
UInt32 InstallFunction,
static extern bool SetupDiClassGuidsFromName(string ClassName, ref Guid ClassGuidArray1stItem, UInt32 ClassGuidArraySize, out UInt32 RequiredSize);
UInt32 RequiredSize = 0;
UInt32 ErrorCode;
UInt32 ClassNameSize,
out UInt32 RequiredSize
UInt32 memberIndex,
UInt32 memberIndex,
ByVal memberIndex As UInt32, ByRef deviceInterfaceData As SP_DEVICE_INTERFACE_DATA) As Boolean
public static extern IntPtr SetupDiGetClassDevs(ref Guid classGuid, IntPtr enumerator, IntPtr hwndParent, UInt32 flags);
public static extern Boolean SetupDiEnumDeviceInterfaces(IntPtr hDevInfo, IntPtr devInfo, ref Guid interfaceClassGuid, UInt32 memberIndex, ref SP_DEVICE_INTERFACE_DATA deviceInterfaceData);
UInt32 deviceInterfaceDetailDataSize,
ref UInt32 requiredSize,
Dim RegType As UInt32 = Reg_Types.REG_SZ
Dim RequiredSize As UInt32
out UInt64 propertyType, // or Uint32 ?
UInt32 flags);
out UInt64 propertyType, // or Uint32 ?
UInt32 flags);
out UInt32 propertyRegDataType,
out UInt32 requiredSize
out UInt32 propertyRegDataType,
out UInt32 requiredSize
Uint32 RequiredSize;
Uint32 RegType;
UInt32 RequiredSize = 0;
UInt32 regType = REG_SZ;
Dim ErrorLine As UInt32 = 0
Dim ErrorLine As UInt32 = 0
Dim ErrorLine As UInt32 = 0
Dim ErrorLine As UInt32 = 0 59: SetupOpenInfFile
Dim ErrorLine As UInt32 = 0 ws2_3260: WSANSIoctl
static extern Int32 WSAIoctl(Int32 s, UInt32 dwControlCode, IntPtr lpvInBuffer, Int32 cbInBuffer, IntPtr lpvOutBuffer, Int32 cbOutBuffer, out UInt32 lpcbBytesReturned, IntPtr lpOverlapped, IntPtr lpCompletion); Cut off search results after 60. Please refine your search. |