Desktop Functions: Smart Device Functions:
|
Search Results for "UInt32" in [All]winscard1: SCardConnect
UInt32 dwShareMode,
UInt32 dwPreferredProtocols,
out UInt32 pdwActiveProtocol);
ref UInt32 pcchReaders
UInt32 dwAttrId, // Identifier for the attribute to get
const UInt32 SCARD_ATTR_ATR_STRING = 0x00090303;
ref UInt32 pcchReaders
public UInt32 dwProtocol;
public UInt32 cbPciLength;
UInt32 SendBuffLen,
ref UInt32 RecvBuffLen 6: WinSCard
internal static extern uint SCardGetStatusChange(IntPtr hContext, UInt32 dwTimeout, [In, Out] SCARD_READERSTATE[] rgReaderStates, UInt32 cReaders);
internal UInt32 dwCurrentState;
internal UInt32 dwEventState;
internal UInt32 cbAtr; UInt32 nbReaders = 1; readerState[0].dwCurrentState = (UInt32)SCardState.UNAWARE; winmm7: midiConnect
static extern UInt32 midiConnect(IntPtr hMidi, IntPtr hmo, IntPtr pReserved);
UInt32 Connect(IntPtr midiInputHandle, IntPtr midiOutputHandle)
static extern UInt32 midiDisconnect(IntPtr hMidi, IntPtr hmo, IntPtr pReserved);
UInt32 Disconnect(IntPtr midiInputHandle, IntPtr midiOutputHandle)
Declare Function midiOutShortMsg Lib "winmm.dll" (hMidiOut As Intptr,dwMsg As UInt32) As UInt32 uint msg = BitConverter.ToUInt32(data, 0); msg = BitConverter.ToUInt32(data, 0);
ref MixerControlDetails pmxcd, UInt32 fdwDetailsmixer);
private UInt32 cbStruct;
private UInt32 dwControlID;
private UInt32 cChannels;
// private UInt32 cMultipleItems; //Unioned with hwndOwner /* if _MULTIPLE, the number of items per channel */
private UInt32 cbDetails;
public UInt32 StructSize
public UInt32 ControlID
public UInt32 Channels
public UInt32 MultipleItems
get { return (UInt32)this.hwndOwner; }
public UInt32 DetailsItemSize
ref MIXERLINECONTROLS pmxlc, UInt32 fdwControls); 12: mixerGetLineInfo
ref MIXERLINE pmxl, UInt32 fdwInfo); 13: mixerGetNumDevs
Declare Function mixerGetNumDevs Lib "winmm.dll" () As UInt32 14: mixerOpen
IntPtr dwCallback, IntPtr dwInstance, UInt32 fdwOpen);
ref MixerControlDetails pmxcd, UInt32 fdwDetails);
private UInt32 cbStruct;
private UInt32 dwControlID;
private UInt32 dwControlType;
private UInt32 fdwControl;
private UInt32 cMultipleItems;
public UInt32 StructSize
public UInt32 ControlID
set { this.dwControlType = (UInt32)value; }
public UInt32 MultipleItems
private UInt32 dwReserved3;
private UInt32 dwReserved4;
private UInt32 dwReserved5;
private UInt32 dwReserved6;
public UInt32 UnsignedMinimum
public UInt32 UnsignedMaximum
public UInt32 Reserved1
public UInt32 Reserved2
public UInt32 Reserved3
public UInt32 Reserved4
public UInt32 Reserved5
public UInt32 Reserved6
private UInt32 cSteps;
//private UInt32 cbCustomData; //Unioned with cSteps
//private UInt32 dwReserved1; //Unioned with cSteps
private UInt32 dwReserved2;
private UInt32 dwReserved3;
private UInt32 dwReserved4;
private UInt32 dwReserved5;
private UInt32 dwReserved6;
public UInt32 Steps
public UInt32 CustomData
public UInt32 Reserved1
public UInt32 Reserved2
public UInt32 Reserved3
public UInt32 Reserved4
public UInt32 Reserved5
public UInt32 Reserved6 16: timeGetDevCaps
static extern UInt32 timeGetDevCaps( ref TimeCaps timeCaps,
UInt32 sizeTimeCaps ); Declare Function timeGetDevCaps Lib "winmm.dll" (ByRef lpTimeCaps As TimeCaps, ByVal uSize As UInt32) As UInt32 TIMERR_NOERROR is defined as UInt32 0 value.
static extern UInt32 timeGetSystemTime( ref MmTime mmTime, UInt32 sizeMmTime ); 18: timeKillEvent
static extern UInt32 timeKillEvent( UInt32 timerEventId ); 19: timeSetEvent
static extern UInt32 timeSetEvent( UInt32 msDelay, UInt32 msResolution,
TimerEventHandler handler, ref UInt32 userCtx, UInt32 eventType ); ipaqutilusing DWORD = UInt32; using DWORD = System.UInt32;
static extern bool iPAQSetOnBatteryBacklightOnOff(ref UInt32 status); 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]; 24: 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]; user32
Public Shared Function AttachThreadInput(ByVal idAttach As System.UInt32, ByVal idAttachTo As System.UInt32, ByVal fAttach As Boolean) As Boolean 27: DeleteMenu
internal const UInt32 SC_SIZE =0xF000;
internal const UInt32 SC_MOVE =0xF010;
internal const UInt32 SC_MINIMIZE =0xF020;
internal const UInt32 SC_MAXIMIZE =0xF030;
internal const UInt32 SC_NEXTWINDOW =0xF040;
internal const UInt32 SC_PREVWINDOW =0xF050;
internal const UInt32 SC_CLOSE =0xF060;
internal const UInt32 SC_VSCROLL =0xF070;
internal const UInt32 SC_HSCROLL =0xF080;
internal const UInt32 SC_MOUSEMENU =0xF090;
internal const UInt32 SC_KEYMENU =0xF100;
internal const UInt32 SC_ARRANGE =0xF110;
internal const UInt32 SC_RESTORE =0xF120;
internal const UInt32 SC_TASKLIST =0xF130;
internal const UInt32 SC_SCREENSAVE =0xF140;
internal const UInt32 SC_HOTKEY =0xF150;
internal const UInt32 SC_DEFAULT =0xF160;
internal const UInt32 SC_MONITORPOWER =0xF170;
internal const UInt32 SC_CONTEXTHELP =0xF180;
internal const UInt32 SC_SEPARATOR =0xF00F;
internal const UInt32 MF_BYCOMMAND =0x00000000;
internal const UInt32 MF_BYPOSITION =0x00000400; 28: EnableMenuItem
internal const UInt32 MF_INSERT =0x00000000;
internal const UInt32 MF_CHANGE =0x00000080;
internal const UInt32 MF_APPEND =0x00000100;
internal const UInt32 MF_DELETE =0x00000200;
internal const UInt32 MF_REMOVE =0x00001000;
internal const UInt32 MF_BYCOMMAND =0x00000000;
internal const UInt32 MF_BYPOSITION =0x00000400;
internal const UInt32 MF_SEPARATOR =0x00000800;
internal const UInt32 MF_ENABLED =0x00000000;
internal const UInt32 MF_GRAYED =0x00000001;
internal const UInt32 MF_DISABLED =0x00000002;
internal const UInt32 MF_UNCHECKED =0x00000000;
internal const UInt32 MF_CHECKED =0x00000008;
internal const UInt32 MF_USECHECKBITMAPS =0x00000200;
internal const UInt32 MF_STRING =0x00000000;
internal const UInt32 MF_BITMAP =0x00000004;
internal const UInt32 MF_OWNERDRAW =0x00000100;
internal const UInt32 MF_POPUP =0x00000010;
internal const UInt32 MF_MENUBARBREAK =0x00000020;
internal const UInt32 MF_MENUBREAK =0x00000040;
internal const UInt32 MF_UNHILITE =0x00000000;
internal const UInt32 MF_HILITE =0x00000080;
internal const UInt32 MF_DEFAULT =0x00001000;
internal const UInt32 MF_SYSMENU =0x00002000;
internal const UInt32 MF_HELP =0x00004000;
internal const UInt32 MF_RIGHTJUSTIFY =0x00004000;
internal const UInt32 MF_MOUSESELECT =0x00008000;
internal const UInt32 MF_END =0x00000080; /* Obsolete -- only used by old RES files */
internal const UInt32 MFT_STRING =MF_STRING;
internal const UInt32 MFT_BITMAP =MF_BITMAP;
internal const UInt32 MFT_MENUBARBREAK =MF_MENUBARBREAK;
internal const UInt32 MFT_MENUBREAK =MF_MENUBREAK;
internal const UInt32 MFT_OWNERDRAW =MF_OWNERDRAW;
internal const UInt32 MFT_RADIOCHECK =0x00000200;
internal const UInt32 MFT_SEPARATOR =MF_SEPARATOR;
internal const UInt32 MFT_RIGHTORDER =0x00002000;
internal const UInt32 MFT_RIGHTJUSTIFY =MF_RIGHTJUSTIFY;
internal const UInt32 MFS_GRAYED =0x00000003;
internal const UInt32 MFS_DISABLED =MFS_GRAYED;
internal const UInt32 MFS_CHECKED =MF_CHECKED;
internal const UInt32 MFS_HILITE =MF_HILITE;
internal const UInt32 MFS_ENABLED =MF_ENABLED;
internal const UInt32 MFS_UNCHECKED =MF_UNCHECKED;
internal const UInt32 MFS_UNHILITE =MF_UNHILITE;
internal const UInt32 MFS_DEFAULT =MF_DEFAULT;
private const UInt32 WM_CLOSE = 0x0010;
Private Const WM_CLOSE As UInt32 = &H10 30: FlashWindow
public UInt32 cbSize;
public UInt32 dwFlags;
public UInt32 uCount;
public UInt32 dwTimeout;
fInfo.cbSize = Convert.ToUInt32(Marshal.SizeOf(fInfo));
fInfo.uCount = UInt32.MaxValue;
fInfo.cbSize = Convert.ToUInt32(Marshal.SizeOf(fInfo));
fInfo.uCount = UInt32.MaxValue; 31: FlashWindowEx
public UInt32 cbSize;
public UInt32 dwFlags;
public UInt32 uCount;
public UInt32 dwTimeout;
fInfo.cbSize = Convert.ToUInt32(Marshal.SizeOf(fInfo));
fInfo.uCount = UInt32.MaxValue;
fInfo.cbSize = Convert.ToUInt32(Marshal.SizeOf(fInfo));
fInfo.uCount = UInt32.MaxValue; 32: GetAltTabInfo
ByVal cchItemText As UInt32) As Boolean 33: GetLastInputInfo
dwTime : uint32
lastInputInfo.cbSize = (UInt32)Marshal::SizeOf(lastInputInfo);
let now = uint32 Environment.TickCount 34: GetMenu 35: GetMenuItemInfo
const UInt32 MIM_MAXHEIGHT = 0x00000001;
const UInt32 MIM_BACKGROUND = 0x00000002;
const UInt32 MIM_HELPID = 0x00000004;
const UInt32 MIM_MENUDATA = 0x00000008;
const UInt32 MIM_STYLE = 0x00000010;
const UInt32 MIM_APPLYTOSUBMENUS = 0x80000000; 36: GetMenuString 37: GetQueueStatus
enum QueueStatusFlags : UInt32
Public dwType as UInt32 39: GetWindowInfo
info.cbSize = Convert.ToUInt32(Marshal.SizeOf(info))
const UInt32 SW_HIDE = 0;
const UInt32 SW_SHOWNORMAL = 1;
const UInt32 SW_NORMAL = 1;
const UInt32 SW_SHOWMINIMIZED = 2;
const UInt32 SW_SHOWMAXIMIZED = 3;
const UInt32 SW_MAXIMIZE = 3;
const UInt32 SW_SHOWNOACTIVATE = 4;
const UInt32 SW_SHOW = 5;
const UInt32 SW_MINIMIZE = 6;
const UInt32 SW_SHOWMINNOACTIVE = 7;
const UInt32 SW_SHOWNA = 8;
const UInt32 SW_RESTORE = 9; 41: LoadImage
Private Shared Function LoadImage(ByVal hInst As IntPtr, ByVal lpszName As String, ByVal uType As UInt32, _
ByVal cxDesired As Integer, ByVal cyDesired As Integer, ByVal fuLoad As UInt32) As IntPtr 42: LoadString
Public Shared Function LoadString(ByVal hInstance As IntPtr, ByVal uID As UInt32, ByVal lpBuffer As Text.StringBuilder, ByVal nBufferMax As Integer) As Integer 43: MoveWindow Note that when performing arithmetic operations in vb.net (3.0) to resize a window (For example, calculating the height and width on the basis of two int32's) you should convert the resulting variable to an uint32 (unsigned integer) before passing it to the DLL. The below code is a badly coded example of this. The RECT used in this code is the size of second window. The first two examples behave as expected, but the latter example resizes the window to minimal size. - MoveWindow(hwnd, (RECT.left RECT.right) / 2, (RECT.top RECT.bottom) / 2, UInt32.Parse(RECT.right - RECT.left), UInt32.Parse(RECT.bottom - RECT.top), True) 44: PostMessage
class method PostMessage(hWnd: IntPtr; Msg: UInt32; wParam, lParam: IntPtr): Boolean; external; Friend Shared Function PostThreadMessage(ByVal idThread As UInt32, ByVal msg As UInt32, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As Boolean
static extern Int32 ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress,[In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesRead);
RealGetWindowClass(hWnd, pszType, (UInt32)pszType.Capacity);
/// private UInt32 queryCancelAutoPlay = 0;
/// if ((UInt32)m.Msg == queryCancelAutoPlay)
class method RegisterWindowMessage(lpString: String): UInt32; external;
private UInt32 queryCancelAutoPlay = 0;
if ((UInt32)m.Msg == queryCancelAutoPlay) 49: SB_GETTEXT
private static extern UInt32 SendMessage(
UInt32 wMsg,
UInt32 size,
UInt32 size,
UInt32 dwSize,
out UInt32 numberOfBytesRead
UInt32 wMsg,
UInt32 wMsg,
UInt32 wParam,
UInt32 lParam
Dim theClickMessage As UInteger = Convert.ToUInt32("0x00F5", 16) '= BM_CLICK value 51: SendInput
Friend Shared Function SendInput(<[In]()> ByVal nInput As UInt32,
<[In]()> ByVal cbInput As Int32) As UInt32 52: SetParent
static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, int wParam, int lParam);
const UInt32 SW_HIDE = 0;
const UInt32 SW_SHOWNORMAL = 1;
const UInt32 SW_NORMAL = 1;
const UInt32 SW_SHOWMINIMIZED = 2;
const UInt32 SW_SHOWMAXIMIZED = 3;
const UInt32 SW_MAXIMIZE = 3;
const UInt32 SW_SHOWNOACTIVATE = 4;
const UInt32 SW_SHOW = 5;
const UInt32 SW_MINIMIZE = 6;
const UInt32 SW_SHOWMINNOACTIVE = 7;
const UInt32 SW_SHOWNA = 8;
const UInt32 SW_RESTORE = 9; When using the SPI_GETANIMATION or SPI_SETANIMATION actions, the uiParam value must be set to (System.UInt32)Marshal.SizeOf(typeof(ANIMATIONINFO)).
private static extern Int32 SystemParametersInfo(UInt32 uiAction, UInt32 uiParam, String pvParam, UInt32 fWinIni);
private static UInt32 SPI_SETDESKWALLPAPER = 20;
private static UInt32 SPIF_UPDATEINIFILE = 0x1; 55: TrackMouseEvent
public Int32 cbSize; // using Int32 instead of UInt32 is safe here, and this avoids casting the result of Marshal.SizeOf()
public UInt32 dwHoverTime;
public TRACKMOUSEEVENT(Int32 dwFlags, IntPtr hWnd, UInt32 dwHoverTime) 56: TrackPopupMenu
ByVal hmenu As IntPtr, ByVal fuFlags As UInt32, _ 57: TrackPopupMenuEx
ByVal hmenu As IntPtr, ByVal fuFlags As UInt32, _ dhcpsapi58: DATE_TIME
public UInt32 dwLowDateTime;
public UInt32 dwHighDateTime;
if (dwHighDateTime == int.MaxValue && dwLowDateTime == UInt32.MaxValue)
public UInt32 DHCPIPAddress;
Dim DHCPIPAddress As UInt32
ClientInfo.DHCPIPAddress = Convert.ToUInt32(HexIP, 16)
public UInt32 DHCPIPAddress;
ClientInfo.DHCPIPAddress = Convert.ToUInt32(HexIP, 16); 60: DhcpEnumServers
public UInt32 Version;
public UInt32 ServerAddress;
public UInt32 Flags;
public UInt32 State;
public UInt32 DsLocType;
public UInt32 Flags;
public UInt32 NumElements;
UInt32 DHCPResult = 0;
outlist[i].ServerAddress = UInt32IPAddressToString(serverList[i].ServerAddress);
private string UInt32IPAddressToString(uint ipAddress) Cut off search results after 60. Please refine your search. |