Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "UInt32" in [All]

odbccp32

.

        private static extern bool SQLConfigDataSourceW(UInt32 hwndParent , RequestFlags fRequest, string lpszDriver, string lpszAttributes);

secur32

.

    public UInt32 LowPart;

.

    public UInt32 HighPart;

.

    public UInt32 Size;

.

    public UInt32 LogonType;

.

    public UInt32 Session;

.

                    [In] UInt32 AuthenticationPackage,

.

                    [In] UInt32 AuthenticationInformationLength,

.

                    [Out] out UInt32 ProfileBufferLength,

.

                    UInt32 PagedPoolLimit;

.

                    UInt32 NonPagedPoolLimit;

.

                    UInt32 MinimumWorkingSetSize;

.

                    UInt32 MaximumWorkingSetSize;  

.

                    UInt32 PagefileLimit;  

.

                    [In] UInt32 AuthenticationPackage,

.

                    [In] UInt32 AuthenticationInformationLength,

.

                    [Out] out UInt32 ProfileBufferLength,

.

                public static extern WinStatusCodes LsaLookupAuthenticationPackage([In] IntPtr LsaHandle,[In] ref LSA_STRING PackageName,[Out] out UInt32 AuthenticationPackage);

.

                            UInt32 kerberosPackageId;

.

                                UInt32 profileBufferLength = 0;

.

   public static extern WinStatusCodes LsaLookupAuthenticationPackage([In] IntPtr LsaHandle,[In] ref LSA_STRING PackageName,[Out] out UInt32 AuthenticationPackage);

.

   public UInt32 fCapabilities;

.

   public UInt32 cbMaxToken;

wininet

.

static extern bool InternetGetCookieEx(string pchURL, string pchCookieName, StringBuilder pchCookieData, ref System.UInt32 pcchCookieData, int dwFlags, IntPtr lpReserved);

.

    static extern bool InternetGetCookieEx(string pchURL, string pchCookieName, StringBuilder pchCookieData, ref System.UInt32 pcchCookieData, int dwFlags, IntPtr lpReserved);

.

        UInt32 datasize = 256*1024;

.

static extern bool InternetGetCookieEx(string pchURL, string pchCookieName, StringBuilder pchCookieData, ref System.UInt32 pcchCookieData, int dwFlags, IntPtr lpReserved);

.

    <FieldOffset(0)> Public dwStructSize As UInt32

.

    <FieldOffset(12)> Public CacheEntryType As UInt32

.

    <FieldOffset(16)> Public dwUseCount As UInt32

.

    <FieldOffset(20)> Public dwHitRate As UInt32

.

    <FieldOffset(24)> Public dwSizeLow As UInt32

.

    <FieldOffset(28)> Public dwSizeHigh As UInt32

.

    <FieldOffset(68)> Public dwHeaderInfoSize As UInt32

.

    <FieldOffset(76)> Public dwReserved As UInt32

.

    <FieldOffset(76)> Public dwExemptDelta As UInt32

.

    <FieldOffset(0)> Public dwStructSize As UInt32

.

    <FieldOffset(12)> Public CacheEntryType As UInt32

.

    <FieldOffset(16)> Public dwUseCount As UInt32

.

    <FieldOffset(20)> Public dwHitRate As UInt32

.

    <FieldOffset(24)> Public dwSizeLow As UInt32

.

    <FieldOffset(28)> Public dwSizeHigh As UInt32

.

    <FieldOffset(68)> Public dwHeaderInfoSize As UInt32

.

    <FieldOffset(76)> Public dwReserved As UInt32

.

    <FieldOffset(76)> Public dwExemptDelta As UInt32

misc

.

    static extern int GetPackageFullName(IntPtr hProcess, ref UInt32 packageFullNameLength, StringBuilder fullName);

dhcpsapi

.

    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);

.

        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)

.

    Dim dwLowDateTime As UInt32

.

    Dim dwHighDateTime As UInt32

.

        if (dwHighDateTime == int.MaxValue && dwLowDateTime == UInt32.MaxValue)

.

        return DateTime.FromFileTime((((long) dwHighDateTime) << 32) | (UInt32) dwLowDateTime);

.

        uint SubnetMask = StringIPAddressToUInt32(Subnet);

.

        clients_array[i].IpAddress = UInt32IPAddressToString(curr_element.ClientIpAddress);

.

    public static uint StringIPAddressToUInt32(string ip_string)

.

    public static string UInt32IPAddressToString(uint ipAddress)

.

    UInt32 DHCPResult = 0;

.

      Console.WriteLine("{0}", UInt32IPAddressToString(ipAddressArray[i].IPAddress));

.

    public UInt32 IPAddress;

.

public static string UInt32IPAddressToString(UInt32 ipAddress)

.

static extern UInt32 DhcpGetClientInfo(

.

        ByRef ClientInfo As IntPtr) As UInt32

.

        Dim DHCPResult As UInt32 = 0

.

    Public Shared Function ConvertIPAddress(ByVal ipAddress As String) As UInt32

.

        Return Convert.ToUInt32(HexIP, 16)

.

        UInt32 DHCPResult = 0;

.

    public static UInt32 ConvertIPAddress(string ipAddress)

.

        return Convert.ToUInt32(HexIP, 16);

.

    si.ClientIpAddress = StringIPAddressToUint32(client);

.

    UInt32 res = 0;

.

public uint StringIPAddressToUint32(string ip_string)

.

   public UInt32 ClientIpAddress;

Constants

18: EWX
.

private const UInt32 EWX_LOGOFF          = 0x00000000;

.

private const UInt32 EWX_SHUTDOWN        = 0x00000001;

.

private const UInt32 EWX_FORCE           = 0x00000004;

.

private const UInt32 EWX_POWEROFF        = 0x00000008;

.

private const UInt32 EWX_FORCEIFHUNG    = 0x00000010; // Supported on Windows 2000 and larger

19: IMAGE_
.

    Public Const IMAGE_BITMAP As UInt32 = 0

.

    Public Const IMAGE_ICON As UInt32 = 1

.

    Public Const IMAGE_CURSOR As UInt32 = 2

.

    Public Const IMAGE_ENHMETAFILE As UInt32 = 3

20: MIXER
.

private const UInt32 MIXER_OBJECTF_HANDLE                    = 0x80000000;

.

private const UInt32 MIXER_OBJECTF_MIXER                    = 0x00000000;

.

private const UInt32 MIXER_OBJECTF_HMIXER                    = MIXER_OBJECTF_HANDLE | MIXER_OBJECTF_MIXER;

.

private const UInt32 MIXERCONTROL_CT_CLASS_FADER            = 0x50000000;

.

private const UInt32 MIXERCONTROL_CT_UNITS_UNSIGNED            = 0x00030000;

.

private const UInt32 MIXERCONTROL_CONTROLTYPE_FADER            = MIXERCONTROL_CT_CLASS_FADER | MIXERCONTROL_CT_UNITS_UNSIGNED;

.

private const UInt32 MIXERCONTROL_CONTROLTYPE_VOLUME        = MIXERCONTROL_CONTROLTYPE_FADER + 1;

.

private const UInt32 CALLBACK_WINDOW                        = 0x00010000;

.

private const UInt32 MIXER_GETLINEINFOF_COMPONENTTYPE        = 0x00000003;

.

private const UInt32 MIXER_GETLINECONTROLSF_ONEBYTYPE        = 0x00000002;

.

private const UInt32 MIXER_GETCONTROLDETAILSF_VALUE            = 0x00000000;

.

private const UInt32 MIXERLINE_COMPONENTTYPE_DST_FIRST        = 0x00000000;

.

private const UInt32 MIXERLINE_COMPONENTTYPE_DST_SPEAKERS    = MIXERLINE_COMPONENTTYPE_DST_FIRST + 4;

.

private const UInt32 MIXER_SETCONTROLDETAILSF_VALUE            = 0x00000000;

.

const UInt32 PBT_APMQUERYSUSPEND         = 0x0000;

.

const UInt32 PBT_APMQUERYSTANDBY         = 0x0001;

.

const UInt32 PBT_APMQUERYSUSPENDFAILED       = 0x0002;

.

const UInt32 PBT_APMQUERYSTANDBYFAILED       = 0x0003;

.

const UInt32 PBT_APMSUSPEND          = 0x0004;

.

const UInt32 PBT_APMSTANDBY          = 0x0005;

.

const UInt32 PBT_APMRESUMECRITICAL       = 0x0006;

.

const UInt32 PBT_APMRESUMESUSPEND        = 0x0007;

.

const UInt32 PBT_APMRESUMESTANDBY        = 0x0008;

.

const UInt32 PBTF_APMRESUMEFROMFAILURE       = 0x00000001;

.

const UInt32 PBT_APMBATTERYLOW           = 0x0009;

.

const UInt32 PBT_APMPOWERSTATUSCHANGE    = 0x000A;

.

const UInt32 PBT_APMOEMEVENT         = 0x000B;

.

const UInt32 PBT_APMRESUMEAUTOMATIC      = 0x0012;

.

    public static PropertyKey PKEY_Device_ConfigFlags = new PropertyKey(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 12);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_LegacyBusType = new PropertyKey(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 22);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_BusNumber = new PropertyKey(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 23);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_DevType = new PropertyKey(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 27);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_Exclusive = new PropertyKey(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 28);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_Characteristics = new PropertyKey(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 29);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_Address = new PropertyKey(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 30);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_RemovalPolicy = new PropertyKey(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 33);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_RemovalPolicyDefault = new PropertyKey(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 34);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_RemovalPolicyOverride = new PropertyKey(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 35);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_InstallState = new PropertyKey(0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 36);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_DevNodeStatus = new PropertyKey(0x4340a6c5, 0x93fa, 0x4706, 0x97, 0x2c, 0x7b, 0x64, 0x80, 0x08, 0xa5, 0xa7, 2);     // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_ProblemCode = new PropertyKey(0x4340a6c5, 0x93fa, 0x4706, 0x97, 0x2c, 0x7b, 0x64, 0x80, 0x08, 0xa5, 0xa7, 3);     // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Numa_Proximity_Domain = new PropertyKey(0x540b947e, 0x8b40, 0x45bc, 0xa8, 0xa2, 0x6a, 0x0b, 0x89, 0x4c, 0xbd, 0xa2, 1);     // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_DriverRank = new PropertyKey(0xa8b865dd, 0x2e3d, 0x4094, 0xad, 0x97, 0xe5, 0x93, 0xa7, 0xc, 0x75, 0xd6, 14);     // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_Device_DriverLogoLevel = new PropertyKey(0xa8b865dd, 0x2e3d, 0x4094, 0xad, 0x97, 0xe5, 0x93, 0xa7, 0xc, 0x75, 0xd6, 15);     // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_DeviceClass_DevType = new PropertyKey(0x4321918b, 0xf69e, 0x470d, 0xa5, 0xde, 0x4d, 0x88, 0xc7, 0x5a, 0xd2, 0x4b, 27);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_DeviceClass_Exclusive = new PropertyKey(0x4321918b, 0xf69e, 0x470d, 0xa5, 0xde, 0x4d, 0x88, 0xc7, 0x5a, 0xd2, 0x4b, 28);    // DEVPROP_TYPE_UINT32

.

    public static PropertyKey PKEY_DeviceClass_Characteristics = new PropertyKey(0x4321918b, 0xf69e, 0x470d, 0xa5, 0xde, 0x4d, 0x88, 0xc7, 0x5a, 0xd2, 0x4b, 29);    // DEVPROP_TYPE_UINT32

23: REASON
.

private const UInt32 SHTDN_REASON_MAJOR_OTHER    = 0x00000000;

.

private const UInt32 SHTDN_REASON_MINOR_OTHER    = 0x00000000;

.

private const UInt32 SHTDN_REASON_FLAG_PLANNED    = 0x80000000;

.

const UInt32 RESOURCE_CONNECTED = 0x00000001;

.

const UInt32 RESOURCE_GLOBALNET = 0x00000002;

.

const UInt32 RESOURCE_REMEMBERED = 0x00000003;

.

const UInt32 RESOURCETYPE_ANY = 0x00000000;

.

const UInt32 RESOURCETYPE_DISK = 0x00000001;

.

const UInt32 RESOURCETYPE_PRINT = 0x00000002;

.

const UInt32 RESOURCEUSAGE_CONNECTABLE = 0x00000001;

.

const UInt32 RESOURCEUSAGE_CONTAINER = 0x00000002;

.

const UInt32 RESOURCEUSAGE_RESERVED = 0x80000000;

.

const UInt32 RESOURCEDISPLAYTYPE_GENERIC = 0x00000000;

.

const UInt32 RESOURCEDISPLAYTYPE_DOMAIN = 0x00000001;

.

const UInt32 RESOURCEDISPLAYTYPE_SERVER = 0x00000002;

.

const UInt32 RESOURCEDISPLAYTYPE_SHARE = 0x00000003;

.

const UInt32 RESOURCEDISPLAYTYPE_FILE = 0x00000004;

.

const UInt32 RESOURCEDISPLAYTYPE_GROUP = 0x00000005;

.

const UInt32 RESOURCEDISPLAYTYPE_TREE = 0x0000000A;

.

        static extern IntPtr GetSidSubAuthority(IntPtr sid, UInt32 subAuthorityIndex);

.

            UInt32 DesiredAccess,

.

        const UInt32 TOKEN_QUERY = 0x0008;

.

UInt32 STATUS_WAIT_0               = (UInt32)0x00000000L;

.

UInt32 STATUS_ABANDONED_WAIT_0         = (UInt32)0x00000080L;

.

UInt32 STATUS_USER_APC             = (UInt32)0x000000C0L;

.

UInt32 STATUS_TIMEOUT             = (UInt32)0x00000102L;

.

UInt32 STATUS_SEGMENT_NOTIFICATION     = (UInt32)0x40000005L;

.

UInt32 STATUS_GUARD_PAGE_VIOLATION     = (UInt32)0x80000001L;

.

UInt32 STATUS_DATATYPE_MISALIGNMENT     = (UInt32)0x80000002L;

.

UInt32 STATUS_BREAKPOINT                 = (UInt32)0x80000003L;

.

UInt32 STATUS_SINGLE_STEP                 = (UInt32)0x80000004L;

.

UInt32 STATUS_ACCESS_VIOLATION         = (UInt32)0xC0000005L;

.

UInt32 STATUS_IN_PAGE_ERROR             = (UInt32)0xC0000006L;

.

UInt32 STATUS_INVALID_HANDLE             = (UInt32)0xC0000008L;

.

UInt32 STATUS_NO_MEMORY                 = (UInt32)0xC0000017L;

.

UInt32 STATUS_ILLEGAL_INSTRUCTION         = (UInt32)0xC000001DL;

.

UInt32 STATUS_NONCONTINUABLE_EXCEPTION = (UInt32)0xC0000025L;

.

UInt32 STATUS_INVALID_DISPOSITION         = (UInt32)0xC0000026L;

.

UInt32 STATUS_ARRAY_BOUNDS_EXCEEDED     = (UInt32)0xC000008CL;

.

UInt32 STATUS_FLOAT_DENORMAL_OPERAND     = (UInt32)0xC000008DL;

.

UInt32 STATUS_FLOAT_DIVIDE_BY_ZERO     = (UInt32)0xC000008EL;

.

UInt32 STATUS_FLOAT_INEXACT_RESULT     = (UInt32)0xC000008FL;

.

UInt32 STATUS_FLOAT_INVALID_OPERATION     = (UInt32)0xC0000090L;

.

UInt32 STATUS_FLOAT_OVERFLOW             = (UInt32)0xC0000091L;

.

UInt32 STATUS_FLOAT_STACK_CHECK         = (UInt32)0xC0000092L;

.

UInt32 STATUS_FLOAT_UNDERFLOW             = (UInt32)0xC0000093L;

.

UInt32 STATUS_INTEGER_DIVIDE_BY_ZERO     = (UInt32)0xC0000094L;

.

UInt32 STATUS_INTEGER_OVERFLOW         = (UInt32)0xC0000095L;

.

UInt32 STATUS_PRIVILEGED_INSTRUCTION     = (UInt32)0xC0000096L;

.

UInt32 STATUS_STACK_OVERFLOW             = (UInt32)0xC00000FDL;

.

UInt32 STATUS_CONTROL_C_EXIT             = (UInt32)0xC000013AL;

.

UInt32 STATUS_FLOAT_MULTIPLE_FAULTS     = (UInt32)0xC00002B4L;

.

UInt32 STATUS_FLOAT_MULTIPLE_TRAPS     = (UInt32)0xC00002B5L;

.

UInt32 STATUS_ILLEGAL_VLM_REFERENCE     = (UInt32)0xC00002C0L;

27: SW
.

const UInt32 SWP_NOSIZE      =0x0001;

.

const UInt32 SWP_NOMOVE      =0x0002;

.

const UInt32 SWP_NOZORDER    =0x0004;

.

const UInt32 SWP_NOREDRAW    =0x0008;

.

const UInt32 SWP_NOACTIVATE      =0x0010;

.

const UInt32 SWP_FRAMECHANGED    =0x0020;

.

const UInt32 SWP_SHOWWINDOW      =0x0040;

.

const UInt32 SWP_HIDEWINDOW      =0x0080;

.

const UInt32 SWP_NOCOPYBITS      =0x0100;

.

const UInt32 SWP_NOOWNERZORDER   =0x0200;

.

const UInt32 SWP_NOSENDCHANGING  =0x0400;

.

const UInt32 SWP_DRAWFRAME       =SWP_FRAMECHANGED;

.

const UInt32 SWP_NOREPOSITION    =SWP_NOOWNERZORDER;

.

const UInt32 SWP_DEFERERASE      =0x2000;

.

const UInt32 SWP_ASYNCWINDOWPOS  =0x4000;

28: SWP
.

const UInt32 SWP_NOSIZE      =0x0001;

.

const UInt32 SWP_NOMOVE      =0x0002;

.

const UInt32 SWP_NOZORDER    =0x0004;

.

const UInt32 SWP_NOREDRAW    =0x0008;

.

const UInt32 SWP_NOACTIVATE      =0x0010;

.

const UInt32 SWP_FRAMECHANGED    =0x0020;

.

const UInt32 SWP_SHOWWINDOW      =0x0040;

.

const UInt32 SWP_HIDEWINDOW      =0x0080;

.

const UInt32 SWP_NOCOPYBITS      =0x0100;

.

const UInt32 SWP_NOOWNERZORDER   =0x0200;

.

const UInt32 SWP_NOSENDCHANGING  =0x0400;

.

const UInt32 SWP_DRAWFRAME       =SWP_FRAMECHANGED;

.

const UInt32 SWP_NOREPOSITION    =SWP_NOOWNERZORDER;

.

const UInt32 SWP_DEFERERASE      =0x2000;

.

const UInt32 SWP_ASYNCWINDOWPOS  =0x4000;

29: TCM_
.

public const UInt32 TCM_FIRST = 0x1300;

.

public const UInt32 TCM_GETIMAGELIST = (TCM_FIRST + 2);

.

public const UInt32 TCM_SETIMAGELIST = (TCM_FIRST + 3);

.

public const UInt32 TCM_GETITEMCOUNT = (TCM_FIRST + 4);

.

public const UInt32 TCM_GETITEMA = (TCM_FIRST + 5);

.

public const UInt32 TCM_GETITEMW = (TCM_FIRST + 60);

.

public const UInt32 TCM_SETITEMA = (TCM_FIRST + 6);

.

public const UInt32 TCM_SETITEMW = (TCM_FIRST + 61);

.

public const UInt32 TCM_INSERTITEMA = (TCM_FIRST + 7);

.

public const UInt32 TCM_INSERTITEMW = (TCM_FIRST + 62);

.

public const UInt32 TCM_DELETEITEM = (TCM_FIRST + 8);

.

public const UInt32 TCM_DELETEALLITEMS = (TCM_FIRST + 9);

.

public const UInt32 TCM_GETITEMRECT = (TCM_FIRST + 10);

.

public const UInt32 TCM_GETCURSEL = (TCM_FIRST + 11);

.

public const UInt32 TCM_SETCURSEL = (TCM_FIRST + 12);

.

public const UInt32 TCM_HITTEST = (TCM_FIRST + 13);

.

public const UInt32 TCM_SETITEMEXTRA = (TCM_FIRST + 14);

.

public const UInt32 TCM_ADJUSTRECT = (TCM_FIRST + 40);

.

public const UInt32 TCM_SETITEMSIZE = (TCM_FIRST + 41);

.

public const UInt32 TCM_REMOVEIMAGE = (TCM_FIRST + 42);

.

public const UInt32 TCM_SETPADDING = (TCM_FIRST + 43);

.

public const UInt32 TCM_GETROWCOUNT = (TCM_FIRST + 44);

.

public const UInt32 TCM_GETCURFOCUS = (TCM_FIRST + 47);

.

public const UInt32 TCM_SETCURFOCUS = (TCM_FIRST + 48);

.

public const UInt32 TCM_SETMINTABWIDTH = (TCM_FIRST + 49);

.

public const UInt32 TCM_DESELECTALL = (TCM_FIRST + 50);

.

public const UInt32 TCM_HIGHLIGHTITEM = (TCM_FIRST + 51);

.

public const UInt32 TCM_SETEXTENDEDSTYLE = (TCM_FIRST + 52); // optional wParam == mask

.

public const UInt32 TCM_GETEXTENDEDSTYLE = (TCM_FIRST + 53);

.

    Private Const TCM_GETIMAGELIST As UInt32 = (TCM_FIRST + 2)

.

    Private Const TCM_SETIMAGELIST As UInt32 = (TCM_FIRST + 3)

.

    Private Const TCM_GETITEMCOUNT As UInt32 = (TCM_FIRST + 4)

.

    Private Const TCM_GETITEMA As UInt32 = (TCM_FIRST + 5)

.

    Private Const TCM_GETITEMW As UInt32 = (TCM_FIRST + 60)

.

    Private Const TCM_SETITEMA As UInt32 = (TCM_FIRST + 6)

.

    Private Const TCM_SETITEMW As UInt32 = (TCM_FIRST + 61)

.

    Private Const TCM_INSERTITEMA As UInt32 = (TCM_FIRST + 7)

.

    Private Const TCM_INSERTITEMW As UInt32 = (TCM_FIRST + 62)

.

    Private Const TCM_DELETEITEM As UInt32 = (TCM_FIRST + 8)

.

    Private Const TCM_DELETEALLITEMS As UInt32 = (TCM_FIRST + 9)

.

    Private Const TCM_GETITEMRECT As UInt32 = (TCM_FIRST + 10)

.

    Private Const TCM_GETCURSEL As UInt32 = (TCM_FIRST + 11)

.

    Private Const TCM_SETCURSEL As UInt32 = (TCM_FIRST + 12)

.

    Private Const TCM_HITTEST As UInt32 = (TCM_FIRST + 13)

.

    Private Const TCM_SETITEMEXTRA As UInt32 = (TCM_FIRST + 14)

.

    Private Const TCM_ADJUSTRECT As UInt32 = (TCM_FIRST + 40)

.

    Private Const TCM_SETITEMSIZE As UInt32 = (TCM_FIRST + 41)

.

    Private Const TCM_REMOVEIMAGE As UInt32 = (TCM_FIRST + 42)

.

    Private Const TCM_SETPADDING As UInt32 = (TCM_FIRST + 43)

.

    Private Const TCM_GETROWCOUNT As UInt32 = (TCM_FIRST + 44)

.

    Private Const TCM_GETCURFOCUS As UInt32 = (TCM_FIRST + 47)

.

    Private Const TCM_SETCURFOCUS As UInt32 = (TCM_FIRST + 48)

.

    Private Const TCM_SETMINTABWIDTH As UInt32 = (TCM_FIRST + 49)

.

    Private Const TCM_DESELECTALL As UInt32 = (TCM_FIRST + 50)

.

    Private Const TCM_HIGHLIGHTITEM As UInt32 = (TCM_FIRST + 51)

.

    Private Const TCM_SETEXTENDEDSTYLE As UInt32 = (TCM_FIRST + 52) ' optional wParam == mask

.

    Private Const TCM_GETEXTENDEDSTYLE As UInt32 = (TCM_FIRST + 53)

30: UInt32
31: WINNT
.

private const UInt32 TOKEN_QUERY         = 0x0008;

.

private const UInt32 TOKEN_ADJUST_PRIVILEGES = 0x0020;

.

private const UInt32 SE_PRIVILEGE_ENABLED    = 0x00000002;

.

Private Const TOKEN_QUERY As UInt32 = &H8

.

Private Const TOKEN_ADJUST_PRIVILEGES As UInt32 = &H20

.

Private Const SE_PRIVILEGE_ENABLED As UInt32 = &H2

32: WM
.

private const UInt32 WM_ACTIVATE           = 0x0006;

.

private const UInt32 WM_ACTIVATEAPP        = 0x001C;

.

private const UInt32 WM_AFXFIRST           = 0x0360;

.

private const UInt32 WM_AFXLAST        = 0x037F;

.

private const UInt32 WM_APP            = 0x8000;

.

private const UInt32 WM_ASKCBFORMATNAME    = 0x030C;

.

private const UInt32 WM_CANCELJOURNAL      = 0x004B;

.

private const UInt32 WM_CANCELMODE         = 0x001F;

.

private const UInt32 WM_CAPTURECHANGED     = 0x0215;

.

private const UInt32 WM_CHANGECBCHAIN      = 0x030D;

.

private const UInt32 WM_CHANGEUISTATE      = 0x0127;

.

private const UInt32 WM_CHAR           = 0x0102;

.

private const UInt32 WM_CHARTOITEM         = 0x002F;

.

private const UInt32 WM_CHILDACTIVATE      = 0x0022;

.

private const UInt32 WM_CLEAR          = 0x0303;

.

private const UInt32 WM_CLOSE          = 0x0010;

.

private const UInt32 WM_COMMAND        = 0x0111;

.

private const UInt32 WM_COMPACTING         = 0x0041;

.

private const UInt32 WM_COMPAREITEM        = 0x0039;

.

private const UInt32 WM_CONTEXTMENU        = 0x007B;

.

private const UInt32 WM_COPY           = 0x0301;

.

private const UInt32 WM_COPYDATA           = 0x004A;

.

private const UInt32 WM_CREATE         = 0x0001;

.

private const UInt32 WM_CTLCOLORBTN        = 0x0135;

.

private const UInt32 WM_CTLCOLORDLG        = 0x0136;

.

private const UInt32 WM_CTLCOLOREDIT       = 0x0133;

.

private const UInt32 WM_CTLCOLORLISTBOX    = 0x0134;

.

private const UInt32 WM_CTLCOLORMSGBOX     = 0x0132;

.

private const UInt32 WM_CTLCOLORSCROLLBAR      = 0x0137;

.

private const UInt32 WM_CTLCOLORSTATIC     = 0x0138;

.

private const UInt32 WM_CUT            = 0x0300;

.

private const UInt32 WM_DEADCHAR           = 0x0103;

.

private const UInt32 WM_DELETEITEM         = 0x002D;

.

private const UInt32 WM_DESTROY        = 0x0002;

.

private const UInt32 WM_DESTROYCLIPBOARD       = 0x0307;

.

private const UInt32 WM_DEVICECHANGE       = 0x0219;

.

private const UInt32 WM_DEVMODECHANGE      = 0x001B;

.

private const UInt32 WM_DISPLAYCHANGE      = 0x007E;

.

private const UInt32 WM_DRAWCLIPBOARD      = 0x0308;

.

private const UInt32 WM_DRAWITEM           = 0x002B;

.

private const UInt32 WM_DROPFILES          = 0x0233;

.

private const UInt32 WM_ENABLE         = 0x000A;

.

private const UInt32 WM_ENDSESSION         = 0x0016;

.

private const UInt32 WM_ENTERIDLE          = 0x0121;

.

private const UInt32 WM_ENTERMENULOOP      = 0x0211;

.

private const UInt32 WM_ENTERSIZEMOVE      = 0x0231;

.

private const UInt32 WM_ERASEBKGND         = 0x0014;

.

private const UInt32 WM_EXITMENULOOP       = 0x0212;

.

private const UInt32 WM_EXITSIZEMOVE       = 0x0232;

.

private const UInt32 WM_FONTCHANGE         = 0x001D;

.

private const UInt32 WM_GETDLGCODE         = 0x0087;

.

private const UInt32 WM_GETFONT        = 0x0031;

.

private const UInt32 WM_GETHOTKEY          = 0x0033;

.

private const UInt32 WM_GETICON        = 0x007F;

.

private const UInt32 WM_GETMINMAXINFO      = 0x0024;

.

private const UInt32 WM_GETOBJECT          = 0x003D;

.

private const UInt32 WM_GETTEXT        = 0x000D;

.

private const UInt32 WM_GETTEXTLENGTH      = 0x000E;

.

private const UInt32 WM_HANDHELDFIRST      = 0x0358;

.

private const UInt32 WM_HANDHELDLAST       = 0x035F;

.

private const UInt32 WM_HELP           = 0x0053;

.

private const UInt32 WM_HOTKEY         = 0x0312;

.

private const UInt32 WM_HSCROLL        = 0x0114;

.

private const UInt32 WM_HSCROLLCLIPBOARD       = 0x030E;

.

private const UInt32 WM_ICONERASEBKGND     = 0x0027;

.

private const UInt32 WM_IME_CHAR           = 0x0286;

.

private const UInt32 WM_IME_COMPOSITION    = 0x010F;

.

private const UInt32 WM_IME_COMPOSITIONFULL    = 0x0284;

.

private const UInt32 WM_IME_CONTROL        = 0x0283;

.

private const UInt32 WM_IME_ENDCOMPOSITION     = 0x010E;

.

private const UInt32 WM_IME_KEYDOWN        = 0x0290;

.

private const UInt32 WM_IME_KEYLAST        = 0x010F;

.

private const UInt32 WM_IME_KEYUP          = 0x0291;

.

private const UInt32 WM_IME_NOTIFY         = 0x0282;

.

private const UInt32 WM_IME_REQUEST        = 0x0288;

.

private const UInt32 WM_IME_SELECT         = 0x0285;

.

private const UInt32 WM_IME_SETCONTEXT     = 0x0281;

.

private const UInt32 WM_IME_STARTCOMPOSITION   = 0x010D;

.

private const UInt32 WM_INITDIALOG         = 0x0110;

.

private const UInt32 WM_INITMENU           = 0x0116;

.

private const UInt32 WM_INITMENUPOPUP      = 0x0117;

.

private const UInt32 WM_INPUTLANGCHANGE    = 0x0051;

.

private const UInt32 WM_INPUTLANGCHANGEREQUEST = 0x0050;

.

private const UInt32 WM_KEYDOWN        = 0x0100;

.

private const UInt32 WM_KEYFIRST           = 0x0100;

.

private const UInt32 WM_KEYLAST        = 0x0108;

.

private const UInt32 WM_KEYUP          = 0x0101;

.

private const UInt32 WM_KILLFOCUS          = 0x0008;

.

private const UInt32 WM_LBUTTONDBLCLK      = 0x0203;

.

private const UInt32 WM_LBUTTONDOWN        = 0x0201;

.

private const UInt32 WM_LBUTTONUP          = 0x0202;

.

private const UInt32 WM_MBUTTONDBLCLK      = 0x0209;

.

private const UInt32 WM_MBUTTONDOWN        = 0x0207;

.

private const UInt32 WM_MBUTTONUP          = 0x0208;

.

private const UInt32 WM_MDIACTIVATE        = 0x0222;

.

private const UInt32 WM_MDICASCADE         = 0x0227;

.

private const UInt32 WM_MDICREATE          = 0x0220;

.

private const UInt32 WM_MDIDESTROY         = 0x0221;

.

private const UInt32 WM_MDIGETACTIVE       = 0x0229;

.

private const UInt32 WM_MDIICONARRANGE     = 0x0228;

.

private const UInt32 WM_MDIMAXIMIZE        = 0x0225;

.

private const UInt32 WM_MDINEXT        = 0x0224;

.

private const UInt32 WM_MDIREFRESHMENU     = 0x0234;

.

private const UInt32 WM_MDIRESTORE         = 0x0223;

.

private const UInt32 WM_MDISETMENU         = 0x0230;

.

private const UInt32 WM_MDITILE        = 0x0226;

.

private const UInt32 WM_MEASUREITEM        = 0x002C;

.

private const UInt32 WM_MENUCHAR           = 0x0120;

.

private const UInt32 WM_MENUCOMMAND        = 0x0126;

.

private const UInt32 WM_MENUDRAG           = 0x0123;

.

private const UInt32 WM_MENUGETOBJECT      = 0x0124;

.

private const UInt32 WM_MENURBUTTONUP      = 0x0122;

.

private const UInt32 WM_MENUSELECT         = 0x011F;

.

private const UInt32 WM_MOUSEACTIVATE      = 0x0021;

.

private const UInt32 WM_MOUSEFIRST         = 0x0200;

.

private const UInt32 WM_MOUSEHOVER         = 0x02A1;

.

private const UInt32 WM_MOUSELAST          = 0x020D;

.

private const UInt32 WM_MOUSELEAVE         = 0x02A3;

.

private const UInt32 WM_MOUSEMOVE          = 0x0200;

.

private const UInt32 WM_MOUSEWHEEL         = 0x020A;

.

private const UInt32 WM_MOUSEHWHEEL        = 0x020E;

.

private const UInt32 WM_MOVE           = 0x0003;

.

private const UInt32 WM_MOVING         = 0x0216;

.

private const UInt32 WM_NCACTIVATE         = 0x0086;

.

private const UInt32 WM_NCCALCSIZE         = 0x0083;

.

private const UInt32 WM_NCCREATE           = 0x0081;

.

private const UInt32 WM_NCDESTROY          = 0x0082;

.

private const UInt32 WM_NCHITTEST          = 0x0084;

.

private const UInt32 WM_NCLBUTTONDBLCLK    = 0x00A3;

.

private const UInt32 WM_NCLBUTTONDOWN      = 0x00A1;

.

private const UInt32 WM_NCLBUTTONUP        = 0x00A2;

.

private const UInt32 WM_NCMBUTTONDBLCLK    = 0x00A9;

.

private const UInt32 WM_NCMBUTTONDOWN      = 0x00A7;

.

private const UInt32 WM_NCMBUTTONUP        = 0x00A8;

.

private const UInt32 WM_NCMOUSEHOVER       = 0x02A0;

.

private const UInt32 WM_NCMOUSELEAVE       = 0x02A2;

.

private const UInt32 WM_NCMOUSEMOVE        = 0x00A0;

.

private const UInt32 WM_NCPAINT        = 0x0085;

.

private const UInt32 WM_NCRBUTTONDBLCLK    = 0x00A6;

.

private const UInt32 WM_NCRBUTTONDOWN      = 0x00A4;

.

private const UInt32 WM_NCRBUTTONUP        = 0x00A5;

.

private const UInt32 WM_NCXBUTTONDBLCLK    = 0x00AD;

.

private const UInt32 WM_NCXBUTTONDOWN      = 0x00AB;

.

private const UInt32 WM_NCXBUTTONUP        = 0x00AC;

.

private const UInt32 WM_NCUAHDRAWCAPTION       = 0x00AE;

.

private const UInt32 WM_NCUAHDRAWFRAME     = 0x00AF;

.

private const UInt32 WM_NEXTDLGCTL         = 0x0028;

.

private const UInt32 WM_NEXTMENU           = 0x0213;

.

private const UInt32 WM_NOTIFY         = 0x004E;

.

private const UInt32 WM_NOTIFYFORMAT       = 0x0055;

.

private const UInt32 WM_NULL           = 0x0000;

.

private const UInt32 WM_PAINT          = 0x000F;

.

private const UInt32 WM_PAINTCLIPBOARD     = 0x0309;

.

private const UInt32 WM_PAINTICON          = 0x0026;

.

private const UInt32 WM_PALETTECHANGED     = 0x0311;

.

private const UInt32 WM_PALETTEISCHANGING      = 0x0310;

.

private const UInt32 WM_PARENTNOTIFY       = 0x0210;

.

private const UInt32 WM_PASTE          = 0x0302;

.

private const UInt32 WM_PENWINFIRST        = 0x0380;

.

private const UInt32 WM_PENWINLAST         = 0x038F;

.

private const UInt32 WM_POWER          = 0x0048;

.

private const UInt32 WM_POWERBROADCAST     = 0x0218;

.

private const UInt32 WM_PRINT          = 0x0317;

.

private const UInt32 WM_PRINTCLIENT        = 0x0318;

.

private const UInt32 WM_QUERYDRAGICON      = 0x0037;

.

private const UInt32 WM_QUERYENDSESSION    = 0x0011;

.

private const UInt32 WM_QUERYNEWPALETTE    = 0x030F;

.

private const UInt32 WM_QUERYOPEN          = 0x0013;

.

private const UInt32 WM_QUEUESYNC          = 0x0023;

.

private const UInt32 WM_QUIT           = 0x0012;

.

private const UInt32 WM_RBUTTONDBLCLK      = 0x0206;

.

private const UInt32 WM_RBUTTONDOWN        = 0x0204;

.

private const UInt32 WM_RBUTTONUP          = 0x0205;

.

private const UInt32 WM_RENDERALLFORMATS       = 0x0306;

.

private const UInt32 WM_RENDERFORMAT       = 0x0305;

.

private const UInt32 WM_SETCURSOR          = 0x0020;

.

private const UInt32 WM_SETFOCUS           = 0x0007;

.

private const UInt32 WM_SETFONT        = 0x0030;

.

private const UInt32 WM_SETHOTKEY          = 0x0032;

.

private const UInt32 WM_SETICON        = 0x0080;

.

private const UInt32 WM_SETREDRAW          = 0x000B;

.

private const UInt32 WM_SETTEXT        = 0x000C;

.

private const UInt32 WM_SETTINGCHANGE      = 0x001A;

.

private const UInt32 WM_SHOWWINDOW         = 0x0018;

.

private const UInt32 WM_SIZE           = 0x0005;

.

private const UInt32 WM_SIZECLIPBOARD      = 0x030B;

.

private const UInt32 WM_SIZING         = 0x0214;

.

private const UInt32 WM_SPOOLERSTATUS      = 0x002A;

.

private const UInt32 WM_STYLECHANGED       = 0x007D;

.

private const UInt32 WM_STYLECHANGING      = 0x007C;

.

private const UInt32 WM_SYNCPAINT          = 0x0088;

.

private const UInt32 WM_SYSCHAR        = 0x0106;

.

private const UInt32 WM_SYSCOLORCHANGE     = 0x0015;

.

private const UInt32 WM_SYSCOMMAND         = 0x0112;

.

private const UInt32 WM_SYSDEADCHAR        = 0x0107;

.

private const UInt32 WM_SYSKEYDOWN         = 0x0104;

.

private const UInt32 WM_SYSKEYUP           = 0x0105;

.

private const UInt32 WM_TCARD          = 0x0052;

.

private const UInt32 WM_TIMECHANGE         = 0x001E;

.

private const UInt32 WM_TIMER          = 0x0113;

.

private const UInt32 WM_UNDO           = 0x0304;

.

private const UInt32 WM_UNINITMENUPOPUP    = 0x0125;

.

private const UInt32 WM_USER           = 0x0400;

.

private const UInt32 WM_USERCHANGED        = 0x0054;

.

private const UInt32 WM_VKEYTOITEM         = 0x002E;

.

private const UInt32 WM_VSCROLL        = 0x0115;

.

private const UInt32 WM_VSCROLLCLIPBOARD       = 0x030A;

.

private const UInt32 WM_WINDOWPOSCHANGED       = 0x0047;

.

private const UInt32 WM_WINDOWPOSCHANGING      = 0x0046;

.

private const UInt32 WM_WININICHANGE       = 0x001A;

.

private const UInt32 WM_XBUTTONDBLCLK      = 0x020D;

.

private const UInt32 WM_XBUTTONDOWN        = 0x020B;

.

private const UInt32 WM_XBUTTONUP          = 0x020C;

Enums

.

Public Enum ACCESS_MASK : Uint32

34: CLSCTX
.

Enum CLSCTX As Integer '(or UInt32 if using .NET 2.0)

.

Enum SHChangeNotifyEventID As UInt32

.

Private Enum SHChangeNotifyFlags As UInt32

37: SHCNE
.

Public Enum SHCNE As UInt32

ws2_32

.

static extern Int32 WSAIoctl(Int32 s, UInt32 dwControlCode, IntPtr lpvInBuffer, Int32 cbInBuffer, IntPtr lpvOutBuffer, Int32 cbOutBuffer, out UInt32 lpcbBytesReturned, IntPtr lpOverlapped, IntPtr lpCompletion);

dnsapi

.

  Public Shared Function DnsFlushResolverCacheEntry(hostName As String) As UInt32

.

  Public Shared Function DnsFlushResolverCacheEntry(hostName As String) As UInt32

iphlpapi

.

        private static extern UInt32 MyAddIPAddress( UInt32 Address, UInt32 IpMaskint, int IfIndex,

.

        UInt32 Result =  MyAddIPAddress((uint)IPAdd.Address,

.

    Public Internal As UInt32

.

    Public InternalHigh As UInt32

.

    Public Offset As UInt32

.

    Public OffsetHigh As UInt32

.

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);

.

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);

.

public static extern int GetNetworkParams(IntPtr pFixedInfo, ref UInt32 pBufOutLen);

.

    internal static extern UInt32 PfAddFiltersToInterface(IntPtr ih, UInt32 cInFilters,

.

    [MarshalAsAttribute(UnmanagedType.Struct)] ref PPF_FILTER_DESCRIPTOR pfiltIn, UInt32 cOutFilters,

.

        public UInt32 dwRule;

.

        public UInt32* SrcAddr;

.

        public UInt32* SrcMask;

.

        public UInt32* DstAddr;

.

        public UInt32* DstMask;

.

        public UInt32 fLateBound;

.

        public UInt32 dwRule;

.

        public UInt32* SrcAddr;

.

        public UInt32* SrcMask;

.

        public UInt32* DstAddr;

.

        public UInt32* DstMask;

.

        public UInt32 fLateBound;

.

    internal static UInt32 lIpFromString(string sIpAddress)

.

        UInt32 lIp = 0;

.

            lIp |= (UInt32.Parse(octets[i]) << (i * 8));

.

        UInt32 lLocalIp = lIpFromString(localAddress);

.

        public UInt32 dwRule;

.

        public UInt32* SrcAddr;

.

        public UInt32* SrcMask;

.

        public UInt32* DstAddr;

.

        public UInt32* DstMask;

.

        public UInt32 fLateBound;

.

    internal static UInt32 lIpFromString(string sIpAddress)

.

        UInt32 lIp = 0;

.

            lIp |= (UInt32.Parse(octets[i]) << (i * 8));

.

        UInt32 lLocalIp = lIpFromString(localAddress);

.

        public UInt32 dwRule;

.

        public UInt32* SrcAddr;

.

        public UInt32* SrcMask;

.

        public UInt32* DstAddr;

.

        public UInt32* DstMask;

.

        public UInt32 fLateBound;

.

    internal static UInt32 lIpFromString(string sIpAddress)

.

        UInt32 lIp = 0;

.

            lIp |= (UInt32.Parse(octets[i]) << (i * 8));

.

        UInt32 lLocalIp = lIpFromString(localAddress);

.

    static extern UInt32 PfDeleteInterface(IntPtr pInterface);

.

        public UInt32 dwRule;

.

        public UInt32* SrcAddr;

.

        public UInt32* SrcMask;

.

        public UInt32* DstAddr;

.

        public UInt32* DstMask;

.

        public UInt32 fLateBound;

.

    public static extern UInt32 PfTestPacket(IntPtr pInInterface, IntPtr pOutInterface, uint cBytes, IntPtr pbPacket, ref PFFORWARD_ACTION ppAction);

.

      ByVal DestIP As UInt32, ByVal SrcIP As UInt32, _

.

The DestIP and SrcIP arguments should be UInt32 to avoid System.OverflowException when the last nibble of the IP-address is .128 or greater.

.

    SendARP(CType(addr.Address, UInt32), 0, mac, len)

.

uint uintAddress = BitConverter.ToUInt32(dst.GetAddressBytes(), 0);

.

    Public Internal As UInt32

.

    Public InternalHigh As UInt32

.

    Public Offset As UInt32

.

    Public OffsetHigh As UInt32

winmm

.

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);

.

   ref MIXERLINE pmxl, UInt32 fdwInfo);

.

Declare Function mixerGetNumDevs Lib "winmm.dll" () As UInt32

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: