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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "8" in [All]

gdi32

.
.

    SRCPAINT    = 0x00EE0086,

.

    SRCAND      = 0x008800C6,

.

    SRCERASE    = 0x00440328,

.

    NOTSRCCOPY  = 0x00330008,

.

Declaration from MSDN (http://msdn2.microsoft.com/en-us/library/aa288468(vs.71).aspx) is OK :

.

in Pointer to a null-terminated character string that specifies the name of the specific output device being used, as shown by the Print Manager (for example, Epson FX-80). It is not the printer model name. The lpszDevice parameter must be used.

.

                        int iPos = Buffer.IndexOf("FONTRES:") + 8;

.

    private const byte SHIFTJIS_CHARSET = 128;

.

    private const byte EASTEUROPE_CHARSET = 238;

.

    FW_EXTRABOLD = 800,

.

    SHIFTJIS_CHARSET = 128,

.

    ARABIC_CHARSET = 178,

.

    EASTEUROPE_CHARSET = 238,

.

    BALTIC_CHARSET = 186,

.

    OUT_OUTLINE_PRECIS = 8,

.

    CLIP_EMBEDDED = (8 << 4),

.

Sample Code: (Tested on Windows 8.1 Professional 64 Bit)

.

        /// #define FW_EXTRABOLD    800

.

            FW_EXTRABOLD = 800,

.

        /// #define MONO_FONT           8

.

            MONO_FONT = 8

.

        /// #define MM_ANISOTROPIC      8

.

            MM_ANISOTROPIC = 8

.

            SHIFTJIS_CHARSET = 0x00000080,

.

            HANGUL_CHARSET = 0x00000081,

.

            JOHAB_CHARSET = 0x00000082,

.

            GB2312_CHARSET = 0x00000086,

.

            CHINESEBIG5_CHARSET = 0x00000088,

.

    private const byte SHIFTJIS_CHARSET = 128;

.

    private const byte EASTEUROPE_CHARSET = 238;

.

    FW_EXTRABOLD = 800,

.

    SHIFTJIS_CHARSET = 128,

.

    ARABIC_CHARSET = 178,

.

    EASTEUROPE_CHARSET = 238,

.

    BALTIC_CHARSET = 186,

.

    OUT_OUTLINE_PRECIS = 8,

.

    CLIP_EMBEDDED = (8 << 4),

.

        /// #define FW_EXTRABOLD    800

.

            FW_EXTRABOLD = 800,

.

        /// #define MONO_FONT           8

.

            MONO_FONT = 8

.

        /// #define MM_ANISOTROPIC      8

.

            MM_ANISOTROPIC = 8

.

            SHIFTJIS_CHARSET = 0x00000080,

.

            HANGUL_CHARSET = 0x00000081,

.

            JOHAB_CHARSET = 0x00000082,

.

            GB2312_CHARSET = 0x00000086,

.

            CHINESEBIG5_CHARSET = 0x00000088,

.

        static Int32 QUERYESCSUPPORT = 8;

.

        static Int32 POSTSCRIPT_INJECTION       =     4118;

.

        static Int32 POSTSCRIPT_IGNORE      =     38;

.

            ETO_NUMERICSLATIN = 0x800,

.

            ETO_RTLREADING = 0x800,

.

        GCP_USEKERNING = 0x0008,

.

        GCP_ERROR = 0x8000,

.

        GCP_CLASSIN = 0x00080000,

.

        GCP_SYMSWAPOFF = 0x00800000,

.

        GCP_NUMERICSLOCAL = 0x08000000,

.

OBJ_REGION = 8,

.

        HORZRES = 8,

.

        NUMPENS = 18,

.

        CURVECAPS = 28,

.

        RASTERCAPS = 38,

.

        LOGPIXELSX = 88,

.

        COLORRES = 108,

.

        DESKTOPHORZRES = 118,

.

    HORZRES = 8

.

    NUMPENS = 18

.

    CURVECAPS = 28

.

    RASTERCAPS = 38

.

    LOGPIXELSX = 88

.

    COLORRES = 108

.

    DESKTOPHORZRES = 118

.

/// This function can return the following value: ERROR_INVALID_PARAMETER (87 (0×57))</returns>

.
.

        range.High = (UInt16)(range.Low + Marshal.ReadInt16(glyphSet, 18 + i * 4) - 1);

.
Warning
The OUTLINETEXTMETRIC structure includes a TEXTMETRIC structure which includes some TCHAR fields. A TCHAR can compile to a 16 bit character or a 8 bit character (depending on whether UNICODE is defined). The C# version of the TEXTMETRIC structure on PInvoke.net assumes that the TCHAR is a 16 bit character and when you retrieve a TEXTMETRIC structure with GetTextMetrics you do get a TEXTMETRIC structure with 16 bit characters. However, when you retrive an OUTLINETEXTMETRIC structure with GetOutlineTextMetrics the included TEXTMETRIC structure appears to have 8 bit characters. (These observations were with Windows XP and might not hold true for other operating systems or all fonts.)
.

        (cr & 0x0000FF00) >> 8,

.

                    (int)(pixel & 0x0000FF00) >> 8,

.

    NULL_PEN    = 8,

.

    DC_BRUSH    = 18,

.

    NULL_PEN = 8

.

    DC_BRUSH = 18

.

http://msdn.microsoft.com/de-de/library/system.windows.forms.textrenderer(VS.80).aspx

.

http://msdn.microsoft.com/de-de/library/system.windows.forms.textrenderer(VS.80).aspx

.

   MM_ANISOTROPIC = 8,

.

private const int MM_ANISOTROPIC      = 8;

.
.

    int iArrayValue = i * (gamma + 128);

.

static int MM_ANISOTROPIC = 8;

.

    const int MM_ANISOTROPIC = 8;

.

    const int NULL_PEN = 8;

.

    const int PS_ALTERNATE = 8;

.

    return crColor.B << 16 | crColor.G << 8 | crColor.R;

.

    R2_NOTMASKPEN       = 8,

.

            SRCPAINT    = 0x00EE0086, /* dest = source OR dest*/

.

            SRCAND      = 0x008800C6, /* dest = source AND dest*/

.

            SRCERASE    = 0x00440328, /* dest = source AND (NOT dest )*/

.

            NOTSRCCOPY  = 0x00330008, /* dest = (NOT source)*/

faultrep

.

http://msdn.microsoft.com/en-us/library/windows/desktop/bb513615%28v=vs.85%29.aspx

iphlpapi

.

    <FieldOffset(8)>

.

    <FieldOffset(8)>

.

        GAA_FLAG_SKIP_DNS_SERVER = 0x0008,

.

        ERROR_INVALID_PARAMETER = 87

.

        IF_TYPE_REGULAR_1822 = 2,

.

        IF_TYPE_HDH_1822 = 3,

.

        IF_TYPE_RFC877_X25 = 5,

.

        IF_TYPE_IS088023_CSMACD = 7,

.

        IF_TYPE_ISO88024_TOKENBUS = 8,

.

        IF_TYPE_ISO88025_TOKENRING = 9,

.

        IF_TYPE_ISO88026_MAN = 10,

.

        IF_TYPE_PROTEON_80MBIT = 13,

.

        IF_TYPE_DS1 = 18,  // DS1-MIB

.

        IF_TYPE_SLIP = 28,  // Generic Slip

.

        IF_TYPE_MIO_X25 = 38,

.

        IF_TYPE_ISO88022_LLC = 41,

.

        IF_TYPE_MODEM = 48,  // Generic Modem

.

        IF_TYPE_IEEE80212 = 55,  // 100BaseVG

.

        IF_TYPE_FRAMERELAY_INTERCONNECT = 58,  // Obsolete, use 32 or 44

.

        IF_TYPE_AFLANE_8023 = 59,  // ATM Emulated LAN for 802.3

.

        IF_TYPE_AFLANE_8025 = 60,  // ATM Emulated LAN for 802.5

.

        IF_TYPE_QLLC = 68,  // SNA QLLC

.

        IF_TYPE_IEEE80211 = 71,  // Radio spread spectrum

.

        IF_TYPE_IPSWITCH = 78,  // IP Switching Objects

.

        IF_TYPE_ATM_LOGICAL = 80,  // ATM Logical Port

.

        IF_TYPE_DS0 = 81,  // Digital Signal Level 0

.

        IF_TYPE_DS0_BUNDLE = 82,  // Group of ds0s on the same ds1

.

        IF_TYPE_BSC = 83,  // Bisynchronous Protocol

.

        IF_TYPE_ASYNC = 84,  // Asynchronous Protocol

.

        IF_TYPE_CNR = 85,  // Combat Net Radio

.

        IF_TYPE_ISO88025R_DTR = 86,  // ISO 802.5r DTR

.

        IF_TYPE_EPLRS = 87,  // Ext Pos Loc Report Sys

.

        IF_TYPE_ARAP = 88,  // Appletalk Remote Access Protocol

.

        IF_TYPE_PROP_CNLS = 89,  // Proprietary Connectionless Proto

.

        IF_TYPE_ISO88025_CRFPRINT = 98,  // ISO 802.5 CRFP

.

        IF_TYPE_PPPMULTILINKBUNDLE = 108,  // PPP Multilink Bundle

.

        IF_TYPE_ISO88025_FIBER = 115,  // ISO 802.5j Fiber Token Ring

.

        IF_TYPE_HDLC = 118,

.

        IF_TYPE_DOCSCABLE_DOWNSTREAM = 128,  // CATV Downstream interface

.

        IF_TYPE_L2_VLAN = 135,  // Layer 2 Virtual LAN using 802.1Q

.

        IF_TYPE_DIGITALPOWERLINE = 138,  // IP over Power Lines

.

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]

.

    private const int MAX_ADAPTER_ADDRESS_LENGTH = 8;

.

        const int MAX_ADAPTER_DESCRIPTION_LENGTH = 128;

.

        const int MAX_ADAPTER_ADDRESS_LENGTH = 8;

.

        const int MIB_IF_TYPE_SLIP = 28;

.

      // https://msdn.microsoft.com/en-us/library/aa366896

.

      // https://msdn2.microsoft.com/en-us/library/aa366386.aspx

.

      // https://msdn.microsoft.com/en-us/library/aa366896.aspx

.

    TCP_TABLE_OWNER_MODULE_ALL = 8

.

        public const int MAX_ADAPTER_NAME = 128;

.

    (ipaddr >> 8) & 0xFF, ipaddr & 0xFF);

.

If you are only interesting in getting the mac Address and you are deploying to Windows 2008 or later, you might want to use ResolveIpNetEntry2 (http://msdn.microsoft.com/en-us/library/aa814455(VS.85).aspx) instead.

.

    //http://stackoverflow.com/questions/1148778/how-do-i-access-arp-protocol-information-through-c-net

.

        const int MAXLEN_PHYSADDR = 8;      

.

    Private Const MAX_HOSTNAME_LEN As Integer = 128

.

    Private Const MAX_DOMAIN_NAME_LEN As Integer = 128

.

    public const int MAX_ADAPTER_NAME = 128;

.

public const int MAX_HOSTNAME_LEN = 128;

.

Public Const MAX_HOSTNAME_LEN As Integer = 128

.

        public const int ERROR_INVALID_PARAMETER   = 87;

.

        public const int MAXLEN_PHYSADDR = 8;

.

        hostsToBlock[0] = "67.77.87.97,255.255.255.255,0";    //blocks all traffic on any port to/from 67.77.87.97

.

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

.

        hostsToBlock[0] = "67.77.87.97,255.255.255.255,0";    //blocks all traffic on any port to/from 67.77.87.97

.

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

.

        hostsToBlock[0] = "67.77.87.97,255.255.255.255,0";    //blocks all traffic on any port to/from 67.77.87.97

.

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

.
Documentation
. .

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

.

    <FieldOffset(8)>

.

    <FieldOffset(8)>

imm32

.

    private const int IME_CMODE_FULLSHAPE = 0x8;

difxapi

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

. .

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

. .

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

.

installerInfo.pApplicationId = "{4d36e972-e325-11ce-bfc1-08002be10319}";

.

installerInfo.pApplicationId = "{4d36e972-e325-11ce-bfc1-08002be10319}"

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

. .

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

.

installerInfo.pApplicationId = "{4d36e972-e325-11ce-bfc1-08002be10319}";

.

installerInfo.pApplicationId = "{4d36e972-e325-11ce-bfc1-08002be10319}"

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

oleacc

.

    Dim IID_IAcce As Guid = New Guid("618736E0-3C3D-11CF-810C-00AA00389B71")

.

        CARET = 0xFFFFFFF8,

.

    Guid guid = new Guid("{618736E0-3C3D-11CF-810C-00AA00389B71}");

.

If you are calling this API from .NET Framework version 2.0 or higher, be sure to put the STAThread attribute on your main(), or manually set the ApartmentState property of the thread you are calling this from to ApartmentStates.STA, or you will get an error code of 0x8001010D which is a “cannot call out exception because of an input synchronous call”.

Enums

.

    WRITE_OWNER = 0x00080000,

.

    GENERIC_READ = 0x80000000,

.

    DESKTOP_HOOKCONTROL = 0x00000008,

.

    DESKTOP_WRITEOBJECTS = 0x00000080,

.

    WINSTA_CREATEDESKTOP = 0x00000008,

.

    WRITE_OWNER = &H80000

.

    GENERIC_READ = &H80000000

.

    DESKTOP_HOOKCONTROL = &H8

.

    DESKTOP_WRITEOBJECTS = &H80

.

    WINSTA_CREATEDESKTOP = &H8

.

    SYSTEM_ALARM_OBJECT = 0x8,

.

    SYSTEM_ALARM_OBJECT = &H8

.
Documentation
.

        /// european computer manufacturers [value = 8].

.

        AF_ECMA = 8,

.

        /// VoiceView [value = 18].

.

        AF_VOICEVIEW = 18,

.

        /// IEEE 1284.4 WG AF [value = 25].

.

        AF_12844 = 25,

.

        /// Network Designers OSI &amp; gateway enabled protocols [value = 28].

.

        AF_NETDES = 28,

.

     FORCE           = 0x00000008,

.

    FORCE = 8

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


 
Access PInvoke.net directly from VS: