Desktop Functions: Smart Device Functions:
|
Search Results for "UInt32" in [All]wlanapi
private static unsafe extern UInt32 EapHostPeerInvokeConfigUI(IntPtr handle, uint dwflags, EAP_METHOD_TYPE eapMethodType, uint dwSizeOfConfigIn, byte *pConfigIn, uint *pdwSizeOfConfigOut, byte **ppConfigOut, ref IntPtr error);
UInt32 result = EapHostPeerInvokeConfigUI(handle, 0, method, 0, null, &sizeConnectionData, &connectionData, ref er);
public UInt32 dwNumberOfPhys;
Public dwNumberOfPhys As UInt32 setupapi3: CM_Get_Child
static extern int CM_Get_Child(out UInt32 pdnDevInst, UInt32 dnDevInst, int ulFlags);
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);
out UInt32 pdnDevInst,
UInt32 dnDevInst,
UInt32 ptrPrevious;
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 23: SetupOpenInfFile
Dim ErrorLine As UInt32 = 0 powrprof
private static extern UInt32 CallNtPowerInformation(
UInt32 nInputBufferSize,
UInt32 nOutputBufferSize
Private Shared Function CallNtPowerInformation(InformationLevel As Int32, lpInputBuffer As IntPtr, nInputBufferSize As UInt32, lpOutputBuffer As IntPtr, nOutputBufferSize As UInt32) As UInt32
(UInt32)Marshal.SizeOf(typeof(SYSTEM_BATTERY_STATE))
public static extern UInt32 PowerDuplicateScheme(
public static extern UInt32 PowerGetActiveScheme(IntPtr UserRootPowerKey, ref IntPtr ActivePolicyGuid);
public static extern UInt32 PowerReadFriendlyName(
ref UInt32 BufferSize);
public static extern UInt32 PowerReadFriendlyName(
ref UInt32 BufferSize);
internal static extern UInt32 PowerSettingAccessCheck(
private static extern UInt32 PowerSettingAccessCheck(
internal static UInt32 PowerSettingAccessCheck(PowerSettingAccessFlags accessFlags)
public static extern UInt32 PowerWriteFriendlyName(
UInt32 BufferSize); ntdsapi30: DsBind
public static extern UInt32 DsBindWithCred( 31: DsBindWithCred
public static extern UInt32 DsBindWithCred( 32: DsCrackNames
ByVal cNames As UInt32, _
public static extern UInt32 DsMakePasswordCredentials( 34: DsUnBind
public static extern UInt32 DsUnBind( dnsapi
Public Shared Function DnsFlushResolverCacheEntry(hostName As String) As UInt32
Public Shared Function DnsFlushResolverCacheEntry(hostName As String) As UInt32 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
ByVal dwAuthError As UInt32, _
ByRef pulAuthPackage As UInt32, _
ByVal ulInAuthBufferSize As UInt32, _
ByRef pulOutAuthBufferSize As UInt32, _
Public Shared Function CredUnPackAuthenticationBuffer(ByVal dwFlags As UInt32, _
ByVal pAuthBuffer As IntPtr, ByVal cbAuthBuffer As UInt32, _
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 wtsapi32
static extern bool WTSQueryUserToken(UInt32 sessionId, out IntPtr Token);
Declare Function WTSQueryUserToken Lib "wtsapi32.dll" (ByVal SessionId As UInt32, ByRef Token As IntPtr) As Boolean 41: WTSSendMessage
Private Shared Function WTSSendMessage(ByVal hServer As IntPtr, ByVal SessionId As Int32, ByVal title As String, ByVal titleLength As UInt32, ByVal message As String, ByVal messageLength As UInt32, ByVal style As UInt32, ByVal timeout As UInt32, ByRef pResponse As UInt32, ByVal bWait As Boolean) As Boolean
Private Shared Function WTSSendMessage(ByVal hServer As IntPtr, ByVal SessionId As Int32, ByVal title As String, ByVal titleLength As UInt32, ByVal message As String, ByVal messageLength As UInt32, ByVal style As UInt32, ByVal timeout As UInt32, ByRef pResponse As UInt32, ByVal bWait As Boolean) As Boolean rasapi32
ByRef lpStatistics As RAS_STATS) As UInt32
private static extern UInt32 RasGetEntryProperties(
ref UInt32 lpdwEntrySize,
ByRef lpdwEntrySize As UInt32, _
ByVal lpdwSize As IntPtr) As UInt32 44: RasHangUp
Public Shared Function RasHangUp(ByVal hRasConn As IntPtr) As UInt32 msi45: MsiApplyPatch
static extern UInt32 MsiApplyPatch(string patchPackage, string installPackage, INSTALLTYPE installType, string commandLine);
UInt32 ret = MsiApplyPatch("TestInstall.msp", "", INSTALLTYPE_DEFAULT, "REINSTALL=ALL REINSTALLMODE=omus REBOOT=Suppress"); 46: MsiEnableLog
public static extern UInt32 MsiEnableLog(INSTALLLOGMODE dwLogMode, string szLogFile, INSTALLLOGATTRIBUTES dwLogAttributes);
private static extern UInt32 MsiEnumRelatedProducts(string strUpgradeCode, int reserved, int iIndex, StringBuilder sbProductCode);
public static extern UInt32 MsiGetComponentPath(string szProduct, string szComponent, [Out] StringBuilder lpPathBuf, ref UInt32 pcchBuf);
UInt32 i = MsiClass.MsiGetShortcutTargetW("C:\\temp\\word.lnk", sbPc, sbFeat, sbComp);
UInt32 chs = 500;
public static extern UInt32 MsiGetShortcutTargetW(string szShortcutTarget,
UInt32 i = MsiGetShortcutTargetW("C:\\temp\\word.lnk", sbPc, sbFeat, sbComp);
static extern UInt32 MsiInstallProduct(string packagePath, string commandLine);
Declare Function MsiInstallProduct Lib "msi.dll" (packagePath As String, commandLine As String) As UInt32 51: MsiOpenPackageEx
public static extern UInt32 MsiOpenPackageExW(string szPackagePath, UInt32 dwOptions, void **hProduct);
static extern UInt32 MsiReinstallProduct(string product, int reinstallMode); 53: MsiViewFetch
Public Shared Function MsiViewFetch(ByVal hView As Integer, <Out> ByRef hRecord As Integer) As UInt32 psapi
[MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U4)] [In][Out] UInt32[] ddAddresses,
UInt32 arraySizeBytes,
[MarshalAs(UnmanagedType.U4)] out UInt32 bytesNeeded
UInt32 arraySizeBytes,
[MarshalAs(UnmanagedType.U4)] out UInt32 bytesNeeded
[MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U4)] [In][Out] UInt32[] ddAddresses,
UInt32 arraySizeBytes,
[MarshalAs(UnmanagedType.U4)] out UInt32 bytesNeeded
UInt32 ddAddress,
UInt32 arraySize;
UInt32 arraySizeBytes;
UInt32[] ddAddresses;
UInt32 bytesNeeded;
ddAddresses = new UInt32[arraySize]; 55: EnumProcesses
[MarshalAs(UnmanagedType.LPArray, ArraySubType=UnmanagedType.U4)] [In][Out] UInt32[] processIds,
UInt32 arraySizeBytes,
[MarshalAs(UnmanagedType.U4)] out UInt32 bytesCopied
[MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U4)] [In][Out] UInt32[] processIds,
UInt32 arraySizeBytes,
[MarshalAs(UnmanagedType.U4)] out UInt32 bytesCopied);
UInt32 arraySize = 120;
UInt32 arrayBytesSize = arraySize * sizeof(UInt32);
UInt32[] processIds = new UInt32[arraySize];
UInt32 bytesCopied;
UInt32 numIdsCopied = bytesCopied >> 2; ;
UInt32 partialDwordBytes = bytesCopied & 3;
for (UInt32 index = 0; index < numIdsCopied; index++)
UInt32 ddAddress,
[MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U4)] [In][Out] UInt32[] ddAddresses,
UInt32 arraySizeBytes,
[MarshalAs(UnmanagedType.U4)] out UInt32 bytesNeeded
UInt32 ddAddress,
UInt32 arraySize;
UInt32 arraySizeBytes;
UInt32[] ddAddresses;
UInt32 bytesNeeded;
ddAddresses = new UInt32[arraySize]; iphlpapi57: AddIPAddress
private static extern UInt32 MyAddIPAddress( UInt32 Address, UInt32 IpMaskint, int IfIndex,
UInt32 Result = MyAddIPAddress((uint)IPAdd.Address, 58: EnableRouter
Public Internal As UInt32
Public InternalHigh As UInt32
Public Offset As UInt32
Public OffsetHigh As UInt32 59: GetBestInterface
static extern int GetBestInterface(UInt32 DestAddr, out UInt32 BestIfIndex); DestAddr is a 32 bit representation of the four IP bytes. For .NET 1.0, you can get this from IPAddress.Address. In .NET 1.1, this is obsolete. You can use BitConverter.ToUInt32(IPAddress.GetAddressBytes()) instead.
public static extern int GetBestInterface(UInt32 destAddr, out UInt32 bestIfIndex);
UInt32 ipv4AddressAsUInt32 = BitConverter.ToUInt32(ipv4Address.GetAddressBytes(), 0);
UInt32 interfaceindex;
int result = Win32ApiCalls.GetBestInterface(ipv4AddressAsUInt32, out interfaceindex); 60: GetIpAddrTable
GetIpAddrTable Lib "iphlpapi.dll" (ByRef ipTable As IntPtr, ByRef tableSize As IntPtr, ByVal ordered As Boolean) As UInt32
static UInt32 GetIpAddressTable( [Out] IntPtr ipTable, [In,Out] IntPtr tableSize, bool sort); Cut off search results after 60. Please refine your search. |