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 "8" in [All]

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”.

imm32

.

    private const int IME_CMODE_FULLSHAPE = 0x8;

version

.
Contact
l8p2

userenv

.

pszProfilePath's capacity must not exceed 260 characters or CreateProfile will return error code 0x800706f7.

.
Documentation
.

    # of -2147024809.

.
Documentation
. .

i686-pc-mingw32-gcc -Wl,--enable-stdcall-fixup -Wall userprof.c /cygdrive/c/windows/system32/userenv.dll

mapi32

.

http://support.microsoft.com/kb/872895

.

http://support.microsoft.com/kb/813349

.

        int result = MAPISendMail(new IntPtr(0), new IntPtr(0), msg, 0x00000001 | 0x00000008, 0);

hhctrl

.

            int g = ((int)_ColorRef >> 8) & 0xff;

.

    param.pszFont = "Tahoma,8";

hid

.
.

StringBuilder manufacturerString = new StringBuilder(128);

.

byte[] buffer = new byte[128];

icmp

.

// 5 mSec and we successfully complete the ping in 188 mSec... should timeout.

.

    char *ip_addr_str = strdup("149.20.53.86");     // www.netbsd.org:

credui

.

    ''' See http://msdn.microsoft.com/en-us/library/aa374802(v=vs.85).aspx

.

    ''' NOTE: Windows Vista or Server 2008 or later ONLY. For older Windows versions use CredUIPromptForCredentials().

.

    ''' See http://msdn.microsoft.com/en-us/library/aa375178(v=VS.85).aspx

.

    ERROR_NOT_FOUND = 1168

.

    ERROR_INVALID_PARAMETER = 87

.

    ''' See http://msdn.microsoft.com/en-us/library/aa375185(v=vs.85).aspx

kernel32

18: 8
.

static extern TODO 8(TODO);

.

Declare Function 8 Lib "kernel32.dll" (TODO) As TODO

.
Documentation
[8] on MSDN
.

    private const uint ACTCTX_FLAG_RESOURCE_NAME_VALID = 0x008;

.

    private const uint ACTCTX_FLAG_HMODULE_VALID = 0x080;

.

    [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)]

.

    <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=128)> _

.
Documentation
AttachConsole,@msdn on MSDN, MSDN Library for VS.NET version v8.0 and PlatformSDK Library v10.0
.
Documentation
AttachConsole,@msdn on MSDN, MSDN Library for VS.NET version v8.0 and PlatformSDK Library v10.0
.

External values of type 'bool' could represent a 1-byte (e.g. C++ bool), 2-byte (e.g. COM VARIANT_BOOL) or 4-byte (e.g. Windows BOOL) value. The distinction is less important for parameters, but for the return, the value would be stored in either (on x86) AL (1 byte), AX (2 bytes) or EAX (4 bytes). By telling interop of the native return type, it knows which parts of EAX to interpret.

.

http://msdn.microsoft.com/en-us/library/aa288474(v=VS.71).aspx

.

"You cannot return the same exact pointer from a native function that you took as a parameter. If a native function returns the pointer that has been marshaled to it by PInvoke[c or c++ or DllImport in c#], memory corruption and exceptions may ensue." http://msdn.microsoft.com/en-us/library/ms235282.aspx

.

    NORM_LINGUISTIC_CASING = &H8000000 'use linguistic rules for casing

.

    SORT_DIGITSASNUMBERS = &H8 'use digits as numbers sort method

.

    /// http://msdn.microsoft.com/en-us/library/ms682073(VS.85).aspx

.

        ColorDWORD = (uint)color.R + (((uint)color.G) << 8) + (((uint)color.B) << 16);

.

           (int)(0x0000FF00U & ColorDWORD) >> 8, (int)(0x00FF0000U & ColorDWORD) >> 16);

.

        ColorDWORD = (uint)color.R + (((uint)color.G) << 8) + (((uint)color.B) << 16);

.

        [FieldOffset(8), MarshalAs(UnmanagedType.U2)]

.

        const uint CONSOLE_MOUSE_DOWN = 0x0008; // Mouse is down

.

        COPY_FILE_ALLOW_DECRYPTED_DESTINATION = 0x00000008

.

        COPY_FILE_ALLOW_DECRYPTED_DESTINATION = &H8

.

        COPY_FILE_ALLOW_DECRYPTED_DESTINATION = 0x00000008

.

        COPY_FILE_ALLOW_DECRYPTED_DESTINATION = &H8

.

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

.

    PageWriteCopy = 0x08,

.

    SectionCommit = 0x8000000,

.

    PageWriteCopy = &H8

.

    SectionCommit = &H8000000

.

        PageWriteCopy = 0x08,

.

        SectionCommit = 0x8000000,

.

    PageWriteCopy = 0x08,

.

    SectionCommit = 0x8000000,

.

    PageWriteCopy = &H8

.

    SectionCommit = &H8000000

.

        PageWriteCopy = 0x08,

.

        SectionCommit = 0x8000000,

.

        public const int    ERROR_ALREADY_EXISTS    = 183;

.

        public const int    ERROR_ALREADY_EXISTS    = 183;

.

            WRITE_OWNER        = 0x00080000,

.

        FILE_FLAG_FIRST_PIPE_INSTANCE = 0x00080000,

.

        FILE_FLAG_WRITE_THROUGH = 0x80000000,

.

        WRITE_OWNER = 0x00080000L,

.

        PIPE_REJECT_REMOTE_CLIENTS = 0x00000008

.

    private const UInt32 GENERIC_READ = 0x80000000;

.

Replace STARTUPINFO with STARTUPINFOEX to use UpdateProcThreadAttribute and extend CreateProcess. Make sure you include the flag EXTENDED_STARTUPINFO_PRESENT (0x00080000)

.

If the approach outlined above does not work verbatim, try the variation by Thottam R. Sriram: http://blogs.msdn.com/thottams/archive/2006/08/11/696013.aspx

.

Here's a sample of using CreateRemoteThread from C#: http://blogs.msdn.com/jmstall/archive/2006/09/28/managed-create-remote-thread.aspx

.

    WT_EXECUTEINPERSISTENTTHREAD = 0x00000080,

.

    WT_EXECUTEONLYONCE = 0x00000008,

.

    WT_EXECUTEINPERSISTENTTHREAD = 0x00000080,

.

    WT_EXECUTEONLYONCE = 0x00000008,

.

    public const uint TH32CS_SNAPMODULE   = 0x00000008;

.

    public const uint TH32CS_INHERIT      = 0x80000000;

.

You may find that you when calling CreateToolhelp32Snapshot that you must specify SnapshotFlag.NoHeaps in addition to any other flags or you will get an invalid handle and an "Out of Memory" error (ERROR_NOT_ENOUGH_MEMORY = 0x8). This is a seemingly undocumented flag. See the bottom of the MSDN page http://msdn.microsoft.com/en-us/library/windows/desktop/ms682489(v=vs.85).aspx

.

    Module = 0x00000008,

.

    Inherit = 0x80000000,

.

    internal const uint DDD_NO_BROADCAST_SYSTEM = 0x00000008;

.

    Status = DeviceIoControl( handle, Control, ref DeviceBuffer, 8, ref AdcOverlapData );

.

    DiskFileSystem        = 0x00000008,

.

    Printer                = 0x00000018,

.

    Port8042            = 0x00000027,

.

    NetworkRedirector    = 0x00000028,

.

    Termsrv                = 0x00000038,

.

///     http://msdn.microsoft.com/en-us/library/windows/hardware/ff543023(v=vs.85).aspx

.

     DiskGetDriveGeometryEx = (EFileDevice.Disk << 16) | (0x0028 << 2) | EMethod.Buffered | (0 << 14),

.

     DiskPerformance = (EFileDevice.Disk << 16) | (0x0008 << 2) | EMethod.Buffered | (0 << 14),

.

     DiskSenseDevice = (EFileDevice.Disk << 16) | (0x00f8 << 2) | EMethod.Buffered | (0 << 14),

.

     ChangerExchangeMedium = (EFileDevice.Changer << 16) | (0x0008 << 2) | EMethod.Buffered | (FileAccess.Read << 14),

.

     FsctlDismountVolume = (EFileDevice.FileSystem << 16) | (8 << 2) | EMethod.Buffered | (0 << 14),

.

     FsctlGetRetrievalPointers = (EFileDevice.FileSystem << 16) | (28 << 2) | EMethod.Neither | (0 << 14),

.

     FsctlSetObjectId = (EFileDevice.FileSystem << 16) | (38 << 2) | EMethod.Buffered | (0 << 14),

.

     FsctlCreateOrGetObjectId = (EFileDevice.FileSystem << 16) | (48 << 2) | EMethod.Buffered | (0 << 14),

.

     FsctlReadFileUsnData = (EFileDevice.FileSystem << 16) | (58 << 2) | EMethod.Neither | (0 << 14),

.

     FsctlHsmData = (EFileDevice.FileSystem << 16) | (68 << 2) | EMethod.Neither | (FileAccess.ReadWrite << 14),

.

http://msdn.microsoft.com/en-us/library/aa363147(v=VS.85).aspx

.

   Private Const DFP_GET_VERSION As Integer = &H74080

.

   Private Const DFP_SEND_DRIVE_COMMAND As Integer = &H7C084

.

   Private Const DFP_RECEIVE_DRIVE_DATA As Integer = &H7C088

.

   Private Const GENERIC_READ As Integer = &H80000000

.

   Private Const IOCTL_STORAGE_CHECK_VERIFY2 As Integer = &H2D0800

.

   Private Const FILE_READ_ATTRIBUTES As Integer = &H80

.

       ERROR_RATE_ATTRIBUTE = &H8

.

       <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=128)> _

.

    FONT = 8,

.

    FONT = 8

.

    private const uint RT_FONT = 0x00000008;

.

        case 87:

.

    LOCALE_NOUSEROVERRIDE     =0x80000000,   // do not use user overrides

.

    LOCALE_SNATIVECOUNTRYNAME     =0x00000008,   // native name of country, eg "Deutschland"

.

    LOCALE_SMONGROUPING       =0x00000018,   // monetary grouping

.

    LOCALE_S1159          =0x00000028,   // AM designator

.

    LOCALE_SMONTHNAME1        =0x00000038,   // long name for January

.

    LOCALE_SMONTHNAME8        =0x0000003F,   // long name for August

.

    LOCALE_SABBREVMONTHNAME5      =0x00000048,   // abbreviated name for May

.

    LOCALE_SABBREVMONTHNAME8      =0x0000004B,   // abbreviated name for August

.

    LOCALE_FONTSIGNATURE      =0x00000058,   // font signature

.

    LOCALE_IPAPERSIZE         =0x0000100A,   // 1 = letter, 5 = legal, 8 = a3, 9 = a4

.

    LOCALE_SNATIVECURRNAME    =0x00001008,   // native name of currency

.

    LOCALE_SISO3166CTRYNAME2      =0x00000068,   // 3 character ISO country name

.

        case 87:

.

    LOCALE_NOUSEROVERRIDE     =0x80000000,   // do not use user overrides

.

    LOCALE_SNATIVECOUNTRYNAME     =0x00000008,   // native name of country, eg "Deutschland"

.

    LOCALE_SMONGROUPING       =0x00000018,   // monetary grouping

.

    LOCALE_S1159          =0x00000028,   // AM designator

.

    LOCALE_SMONTHNAME1        =0x00000038,   // long name for January

.

    LOCALE_SMONTHNAME8        =0x0000003F,   // long name for August

.

    LOCALE_SABBREVMONTHNAME5      =0x00000048,   // abbreviated name for May

.

    LOCALE_SABBREVMONTHNAME8      =0x0000004B,   // abbreviated name for August

.

    LOCALE_FONTSIGNATURE      =0x00000058,   // font signature

.

    LOCALE_IPAPERSIZE         =0x0000100A,   // 1 = letter, 5 = legal, 8 = a3, 9 = a4

.

    LOCALE_SNATIVECURRNAME    =0x00001008,   // native name of currency

.

    LOCALE_SISO3166CTRYNAME2      =0x00000068,   // 3 character ISO country name

.

    SETBREAK = 8, //Suspends character transmission and places the transmission line in a break state until the ClearCommBreak function is called

.

            hexTS.Substring(14, 2), hexTS.Substring(12, 2), hexTS.Substring(10, 2), hexTS.Substring(8, 2));

.

FILE_NOTIFY_CHANGE_SIZE 0x00000008

.

https://msdn.microsoft.com/en-us/library/windows/desktop/aa365261(v=vs.85).aspx

.
.
.

    //0x40000000 | 0x80000000 - corresponds to GENERIC_READ | GENERIC_WRITE

.

    IntPtr inBuffer = GetInputBuffer("CONIN$", 0x40000000 | 0x80000000,

.

If you are trying use FormatMessage to "decode" an error from Marshal.GetLastWin32Error, go take a look at Marshal.ThrowExceptionForHR (http://msdn.microsoft.com/en-us/library/ckxcyk36(v=VS.80).aspx).

.

    const uint FORMAT_MESSAGE_FROM_HMODULE = 0x00000800;

.

If you are trying use FormatMessage to "decode" an error from Marshal.GetLastWin32Error, go take a look at Marshal.ThrowExceptionForHR (http://msdn.microsoft.com/en-us/library/ckxcyk36(v=VS.80).aspx).

.

    const uint FORMAT_MESSAGE_FROM_HMODULE = 0x00000800;

.

    'FORMAT_MESSAGE_FROM_HMODULE = &H800

.
.
Summary
Windows 8+. Gets the application user model ID for the specified process. For instance, reveals the application ID for HTML/JavaScript applications running inside wwahost.exe.
.

    ENABLE_WINDOW_INPUT = &H8

.

    ENABLE_EXTENDED_FLAGS = &H80

.

        public COLORREF color8;

.

        const uint CONSOLE_MOUSE_DOWN = 0x0008; // Mouse is down

.
Documentation
.

     ShowNA = 8

.

    /// http://msdn.microsoft.com/en-us/library/aa288104.aspx

.

        /// Unicode (UTF-8)

.

        CP_UTF8 = 65001,

.

     8 => -###.## $

.

Look at this link: http://msdn.microsoft.com/en-us/goglobal/bb688126.aspx

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


 
Access PInvoke.net directly from VS: