Desktop Functions: Smart Device Functions:
|
Search Results for "UInt32" in [All]netapi321: DsGetDcNext
using DWORD = System.UInt32; 2: DsGetDcOpen
using DWORD = System.UInt32;
static extern UInt32 DsGetSiteName([MarshalAs(UnmanagedType.LPTStr)]string ComputerName, out IntPtr SiteNameBuffer);
<Out()> ByRef SiteNameBuffer As IntPtr) As UInt32 UInt32 result = DsGetSiteName(ComputerName, out pBuffer);
Dim result As UInt32 = DsGetSiteName("MEASUS", pBuffer) 4: NetDfsAdd Declare Function NetDfsAdd Lib "NETAPI32.DLL" (<Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal DfsEntryPath As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal ServerName As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal ShareName As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal Comment As String, ByVal Flags As Uint32) As Long 5: NetDfsEnum
Dim State As UInt32
Dim NumberOfStorages As UInt32
UInt32 State;
UInt32 NumberOfStorages;
Dim State As UInt32
Dim NumberOfStorages As UInt32 7: NetGroupAdd
UInt32 level, //info level
UInt32 level, //info level
UInt32 totalentries //number of entries
UInt32 level,
UInt32 totalentries
UInt32 level,
UInt32 totalentries 11: netserverenum
public UInt32 sv101_platform_id;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.U4)] public UInt32 sv101_version_major;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.U4)] public UInt32 sv101_version_minor;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.U4)] public UInt32 sv101_type; 12: NetSessionEnum
Public sesi502_num_opens As UInt32
Public sesi502_time As UInt32
Public sesi502_idle_time As UInt32
Public sesi502_user_flags As UInt32 13: NetShareSetInfo
static extern UInt32 NetShareSetInfo(String servername, String netname, UInt32 level, ref object buf, out UInt32 parm_err); 14: NetUseAdd
using DWORD = System.UInt32;
using NET_API_STATUS = System.UInt32; using DWORD = System.UInt32; using NET_API_STATUS = System.UInt32; 15: NetUseDel
const UInt32 USE_NOFORCE = 0;
const UInt32 USE_FORCE = 1;
const UInt32 USE_LOTS_OF_FORCE = 2;
private static extern UInt32 NetUseDel(
UInt32 ForceCond 16: NetUseEnum
ByVal Level As UInt32, _
ByVal PreferedMaximumSize As UInt32, _
Public ui2_status As UInt32
Public ui2_asg_type As UInt32
Public ui2_refcount As UInt32
Public ui2_usecount As UInt32
NetUseEnum(Nothing, 2, lBuffer, UInt32.MaxValue, lRead, lTotal, lHandle) 17: NetUserAdd
UInt32 level,
out UInt32 parm_err); 18: NetUserGetGroups
UInt32 prefmaxlen, When the data to receive is larger than the specified in 'prefmaxlen', an error code 234 is returned. You can pass 0xFFFFFFFF (which required the change from int to UInt32) in this parameter and then the needed amount of memory will be allocated.
UInt32 prefmaxlen,
UInt32 prefmaxlen, The prefmaxlen parameter is DWORD, changed it to UInt32. This was already done for the netusergetgroups http://www.pinvoke.net/default.aspx/netapi32.netusergetgroups. Otherwise MAX_PREFERRED_LENGTH could not be passed which is defined as (DWORD)-1. 20: NetUserSetInfo
out UInt32 parm_err
out UInt32 parm_err 21: NetValidateName
static extern UInt32 NetValidateName(string lpServer,string lpName, string lpAccount,string lpPassword, int NameType);
static extern UInt32 NetValidateName(string lpServer,string lpName, string lpAccount,string lpPassword, NET_SETUP_NAMETYPE NameType);
public static extern UInt32 NetValidateName(string lpServer,string lpName,string lpAccount,string lpPassword,
public static extern UInt32 NetValidateName(string lpServer,string lpName, string lpAccount,string lpPassword, int NameType);
UInt32 rtn = NetValidateName(null, "jrich523.wordpress.com", null, null, 3);
public static extern UInt32 NetValidateName(string lpServer,string lpName,string lpAccount,string lpPassword, kernel3222: CompareString
Public Enum EComparationFlags As UInt32
UInt32 dwDesiredAccess,
UInt32 dwShareMode,
UInt32 flags,
UInt32 dwDesiredAccess,
UInt32 dwShareMode,
UInt32 flags, 24: CreateMailslot
ByVal nMaxMessageSize As UInt32, _
ByVal lReadTimeoutAs As UInt32, _ 25: CreateNamedPipe
UInt32 dwDesiredAccess, UInt32 dwShareMode,
IntPtr lpSecurityAttributes, UInt32 dwCreationDisposition,
UInt32 dwFlagsAndAttributes,
private const UInt32 GENERIC_READ = 0x80000000;
private const UInt32 GENERIC_WRITE = 0x40000000;
private const UInt32 FILE_FLAG_OVERLAPPED = 0x40000000;
private const UInt32 FILE_FLAG_NO_BUFFERING = 0x20000000;
private const UInt32 OPEN_EXISTING = 3; 26: CreateProcess
dwCreationFlags As UInt32, _
Const NORMAL_PRIORITY_CLASS AS UInt32 = &h2 A DWORD or in .NET a UInt32.
internal UInt32 dwSize;
internal UInt32 cntUsage;
internal UInt32 th32ProcessID;
internal UInt32 th32ModuleID;
internal UInt32 cntThreads;
internal UInt32 th32ParentProcessID;
internal UInt32 dwFlags;
static extern IntPtr CreateToolhelp32Snapshot([In]UInt32 dwFlags, [In]UInt32 th32ProcessID);
procEntry.dwSize = (UInt32)Marshal.SizeOf(typeof(PROCESSENTRY32));
[MarshalAs(UnmanagedType.U4)] UInt32 access,
[MarshalAs(UnmanagedType.U4)] UInt32 share,
[MarshalAs(UnmanagedType.U4)] UInt32 creationDisposition,
[MarshalAs(UnmanagedType.U4)] UInt32 flagsAndAttributes,
public const UInt32 CTRL_C_EVENT = 0;
public const UInt32 CTRL_BREAK_EVENT = 1;
ref UInt32 AppModelIDLength,
Private Declare Function GetCompressedFileSize Lib "kernel32" Alias "GetCompressedFileSizeA" (ByVal lpFileName As String, ByVal lpFileSizeHigh As IntPtr) As UInt32 33: 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
public UInt32 uiNumDigits;
public UInt32 uiLeadingZero;
public UInt32 uiGrouping;
public UInt32 uiNegativeOrder;
public UInt32 uiPositiveOrder;
currencyFormat.uiGrouping = Convert.ToUInt32(txtGrouping.Text);
currencyFormat.uiLeadingZero = Convert.ToUInt32(cboLeadingZero.SelectedIndex);
currencyFormat.uiNegativeOrder = Convert.ToUInt32(cboNegativeOrder.SelectedIndex);
currencyFormat.uiNumDigits = Convert.ToUInt32(txtNumDigits.Text);
currencyFormat.uiPositiveOrder = Convert.ToUInt32(cboPositiveOrder.SelectedIndex);
ref UInt32 AppModelIDLength,
Public Shared Function GetExitCodeProcess(ByVal hProcess As IntPtr, ByRef lpExitCode As System.UInt32) As Boolean
dwLen as UInt32, _
static extern UInt32 GetLargePageMinimum(); 40: GetMailslotInfo
out UInt32 lpNextSize, IntPtr lpMaxMessageSize, out UInt32 lpReadTimeout);
UInt32 nextSize = 0;
UInt32 readTimeout = 0;
static UInt32 GetPrivateProfileInt(String^ lpAppName, String^ lpKeyName, Int32 nDefault, String^ lpFileName);
static UInt32 GetPrivateProfileString(
UInt32 nSize,
static extern bool GetProcessHandleCount(IntPtr hProcess, ref UInt32 dwHandleCount); UInt32 handles = 0; 44: GetProcessHeap
public static extern UInt32 GetProcessHeaps(
UInt32 NumberOfHeaps, 45: GetProcessHeaps
public static extern UInt32 GetProcessHeaps(
UInt32 NumberOfHeaps, 46: GetProcessId
Declare Function GetProcessIdOfThread Lib "kernel32" (ByVal Thread As IntPtr) As UInt32 47: GetSystemInfo
public UInt32 OemId;
public UInt32 PageSize;
public UInt32 MinimumApplicationAddress;
public UInt32 MaximumApplicationAddress;
public UInt32 ActiveProcessorMask;
public UInt32 NumberOfProcessors;
public UInt32 ProcessorType;
public UInt32 AllocationGranularity; 48: GetThreadLocale
Shared Function GetThreadLocale() As UInt32
ByVal VolumeNameSize As UInt32, _
ByRef VolumeSerialNumber As UInt32, _
ByRef MaximumComponentLength As UInt32, _
ByRef FileSystemFlags As UInt32, _
ByVal FileSystemNameSize As UInt32) As UInt32
ByRef MaxComponentLength As UInt32, _
ByRef FileSystemFlags As UInt32, _
Dim sernum As UInt32
Dim RetVal As UInt32 = GetVolumeInformation(sRootFolder, volname, volname.Capacity, _
ref UInt32 lpcchReturnLength);
ref UInt32 lpcchReturnLength);
UInt32 dwRequired = 0;
ref UInt32 lpcchReturnLength);
ref UInt32 lpcchReturnLength);
UInt32 dwRequired = 0;
public UInt32 ActiveProcessLimit;
public UInt32 PriorityClass;
public UInt32 SchedulingClass;
Public ActiveProcessLimit As UInt32
Public PriorityClass As UInt32
Public SchedulingClass As UInt32 53: NetBIOS
Public ncbPost As UInt32 'IntPtr 54: OpenFile
const UInt32 STANDARD_RIGHTS_REQUIRED = 0x000F0000;
const UInt32 SECTION_QUERY = 0x0001;
const UInt32 SECTION_MAP_WRITE = 0x0002;
const UInt32 SECTION_MAP_READ = 0x0004;
const UInt32 SECTION_MAP_EXECUTE = 0x0008;
const UInt32 SECTION_EXTEND_SIZE = 0x0010;
const UInt32 SECTION_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED|SECTION_QUERY|
const UInt32 FILE_MAP_ALL_ACCESS = SECTION_ALL_ACCESS;
unsafe public void Attach(string SharedMemoryName, UInt32 NumBytes) 55: OpenFileMapping
const UInt32 STANDARD_RIGHTS_REQUIRED = 0x000F0000;
const UInt32 SECTION_QUERY = 0x0001;
const UInt32 SECTION_MAP_WRITE = 0x0002;
const UInt32 SECTION_MAP_READ = 0x0004;
const UInt32 SECTION_MAP_EXECUTE = 0x0008;
const UInt32 SECTION_EXTEND_SIZE = 0x0010;
const UInt32 SECTION_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED|SECTION_QUERY|
const UInt32 FILE_MAP_ALL_ACCESS = SECTION_ALL_ACCESS;
unsafe public void Attach(string SharedMemoryName, UInt32 NumBytes) 56: OpenMutex
const UInt32 DELETE = 0x00010000;
const UInt32 READ_CONTROL = 0x00020000;
const UInt32 SYNCHRONIZE = 0x00100000;
const UInt32 WRITE_DAC = 0x00040000;
const UInt32 WRITE_OWNER = 0x00080000;
const UInt32 MUTEX_ALL_ACCESS = 0x1F0001;
const UInt32 MUTEX_MODIFY_STATE = 0x0001; 57: OpenProcess
Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As ProcessAccessFlags, bInheritHandle As Boolean, processId As UInt32) As IntPtr
static extern long PackageFullNameFromId(ref PACKAGE_ID packageId, ref UInt32 packageFullNameLength, StringBuilder packageFullName);
UInt32 capacity = (UInt32)packageFullName.Capacity; 59: PACKAGE_ID
public UInt32 reserved;
public UInt32 processorArchitecture; 60: PROCESSENTRY32
internal UInt32 dwSize;
internal UInt32 cntUsage;
internal UInt32 th32ProcessID;
internal UInt32 th32ModuleID;
internal UInt32 cntThreads;
internal UInt32 th32ParentProcessID;
internal UInt32 dwFlags; Cut off search results after 60. Please refine your search. |