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]

shlwapi

.

   INIT_DEFAULTTOFOLDER = 0x00000008,

.

   REMAPRUNDLL = 0x00000080,

.

[Guid("c46ca590-3c3f-11d2-bee6-0000f805ca57"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]

.

static Guid CLSID_QueryAssociations = new Guid("a07034fd-6caa-4954-ac3f-97a27216f98a");

.

static Guid IID_IQueryAssociations = new Guid("c46ca590-3c3f-11d2-bee6-0000f805ca57");

.

   if((uint)Marshal.GetHRForException(e) == 0x80070483)

.

    Init_DefaultToFolder = 0x8,

.

    RemapRunDll = 0x80,

.

    Init_FixedProgId = 0x800,

.

        //utf8

.
Documentation
. .

[Guid("8895b1c6-b41f-4c1c-a562-0d564250836f")]

5: IsOS
.

     ///    * Windows 98

.

     Win98OrGreater = 5,

.

     Win98Gold = 6,

.

     Win2000Pro = 8,

.

     XPOrGreater = 18,

.

     DomainMember = 28,

.

''' For example, if cchMax = 8, the resulting string can contain a maximum of 7 characters plus the terminating null character.

.

            Console.WriteLine("1234567890123456789012345678901234567890123456789012345678901234567890123456789");

.

''' For example, if cchMax = 8, the resulting string can contain a maximum of 7 characters plus the terminating null character.

.

            Console.WriteLine("1234567890123456789012345678901234567890123456789012345678901234567890123456789");

.

http://msdn.microsoft.com/en-us/library/system.io.directory.exists%28v=vs.110%29.aspx

.
Documentation
.
Documentation
.
Documentation
.

string sWin8ManifestString = "{C:\Program Files\WindowsApps\Microsoft.Video_6.2.8158.0_x86__8wekyb3d8bbwe\resources.pri?ms-resource://Microsoft.Video/resources/manifestVideoDisplayName}";

.

int result = SHLoadIndirectString(sWin8ManifestString, outBuff, outBuff.Capacity, IntPtr.Zero);

.

/* The SHMessageBoxCheck() function is a Windows Shell API function that displays a custom messagebox with a "never ask me again" check box.  When the user checks the checkbox, the dialog never shows up again.  The shell API .dll exports this function by ordinal only.  The entrypoint  is ordinal 185 for ASCII and 191 for unicode. */

.

[DllImport("shlwapi.dll", EntryPoint="#185", ExactSpelling=true, PreserveSig=false)]

.

Raymond Chen, a popular Microsoft blogger, recommends that you not worry about leaving keys because it's per-user data anyway and in many environments it's preferable to leave it behind. Definitely do not try to enumerate all user profiles to remove the keys for the other users because in the case of roaming profiles you'll likely corrupt a lot of stuff. If you want to remove all traces of your program, one alternative is to write your own SHMessageBoxCheck dialog and store the preference wherever you want. Source: http://blogs.msdn.com/oldnewthing/archive/2007/09/17/4948130.aspx

.

''' Returns a string representation of a number of bytes (ie. 524288 = "512Kb")

.
Documentation
.

      uint maxLen=2048+32+3;//see INTERNET_MAX_URL_LENGTH

.

    Const INTERNET_MAX_URL_LENGTH As Integer = 2048 + 32 + 3

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

wtsapi32

.

http://msdn2.microsoft.com/en-us/library/aa383828.aspx

.

    const int WTS_SESSION_UNLOCK         = 0x8; // A session has been unlocked.

.

        private const int WTS_SESSION_UNLOCK = 0x8;

.

#http://technet.microsoft.com/en-us/query/aa383842

.

#http://technet.microsoft.com/en-us/query/aa383488

.
Documentation
.

reference link: http://msdn2.microsoft.com/en-us/library/aa383849.aspx

.

    WTSConnectState = 8,

.

    WTSLogonTime = 18,

.

    WTSSessionAddressV4 = 28,

.

    WTSConnectState = 8

.

    WTSLogonTime = 18

.

    WTSSessionAddressV4 = 28

comdlg32

.

     CF_ENABLEHOOK = 0x00000008,

.

     CF_USESTYLE = 0x00000080,

.

     CF_NOVECTORFONTS = 0x00000800,

.

     CF_WYSIWYG = 0x00008000,

.

     CF_NOFACESEL = 0x00080000,

.

     CF_NOSCRIPTSEL = 0x00800000,

.

./openfilename.exe is 2,048 bytes !!!

.

#define OFN_NOCHANGEDIR 0x8

.

#define OFN_ENABLETEMPLATEHANDLE 0x80

.

#define OFN_PATHMUSTEXIST 0x800

.

#define OFN_NOREADONLYRETURN 0x8000

.

#define OFN_EXPLORER 0x80000

.

#define OFN_ENABLESIZING 0x800000

.

    Public Const PD_NOPAGENUMS As Int32 = 8

.

    Public Const PD_NOWARNING As Int32 = 128

.

    Public Const PD_SHOWHELP As Int32 = 2048

.

    Public Const PD_ENABLESETUPHOOK As Int32 = 8192

.

    Public Const PD_ENABLEPRINTTEMPLATE As Int32 = 16384

.

    Public Const PD_ENABLESETUPTEMPLATE As Int32 = 32768

.

    Public Const PD_DISABLEPRINTTOFILE As Int32 = 524288

.

    Public Const PD_HIDEPRINTTOFILE As Int32 = 1048576

.

    Public Const PD_NOCURRENTPAGE As Int32 = 8388608

.

    Public Const PD_USELARGETEMPLATE As Int32 = 268435456

.

    Public Const PD_EXCL_COPIESANDCOLLATE As Int32 = (256 Or 32768)

.

    Public Const PD_NOPAGENUMS As Int32 = 8

.

    Public Const PD_NOWARNING As Int32 = 128

.

    Public Const PD_SHOWHELP As Int32 = 2048

.

    Public Const PD_ENABLESETUPHOOK As Int32 = 8192

.

    Public Const PD_ENABLEPRINTTEMPLATE As Int32 = 16384

.

    Public Const PD_ENABLESETUPTEMPLATE As Int32 = 32768

.

    Public Const PD_DISABLEPRINTTOFILE As Int32 = 524288

.

    Public Const PD_HIDEPRINTTOFILE As Int32 = 1048576

.

    Public Const PD_NOCURRENTPAGE As Int32 = 8388608

.

    Public Const PD_USELARGETEMPLATE As Int32 = 268435456

.

    Public Const PD_EXCL_COPIESANDCOLLATE As Int32 = (256 Or 32768)

avifil32

.

    ElseIf lpFormat.biBitCount > 8 Then

.

        lpFormat.biBitCount = 8

.

    ElseIf lpFormat.biBitCount > 8 Then

.

        lpFormat.biBitCount = 8

hhctrl

.

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

.

    param.pszFont = "Tahoma,8";

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

comctl32

.
Summary
Enters the control in 'ReaderMode' a mouse scrolling mode that allows you to scroll in any direction by moving the mouse pointer. Callbacks are used to inform the control of the offset it should scroll. The Control is responsible for updating the scroll position. The function must be passed the READERMODEINFO structure. This function has no public header and must be referenced as ordinal 383, as per MSDN documentation.
.

     <DllImport("Comctl32.dll", EntryPoint:="#383", _

.

<DllImport("Comctl32.dll", EntryPoint:="#383", _

.

    Async = 0x00008000,

.

      Async = 0x00008000,

.

         if (!NativeMethods.ImageList_DrawEx(imageList.Handle, index, hg, bounds.X, bounds.Y, bounds.Width, bounds.Height, bgColor, fgColor, style | (NativeMethods.ImageListDrawingStyle)(overlayImageIndex << 8)))

.
.

      Async = 0x00008000,

.

         if (!NativeMethods.ImageList_DrawEx(imageList.Handle, index, hg, bounds.X, bounds.Y, bounds.Width, bounds.Height, bgColor, fgColor, style | (NativeMethods.ImageListDrawingStyle)(overlayImageIndex << 8)))

.

This only appears to be an issue with VS2008, and it may have been fixed by the time you are reading this, so try to run the project first, and if you click on one of the 'TaskDialog' buttons and see it popup (ie you dont see an exception) then you do not need to take these steps, if you do get an exception, follow the steps below:

.

To Run the VistaBridge Project in Visual Studio 2008, you must re-create the Application Manifest file. To do this, open the manifest already in the project, copy all of the text from it to notepad and then delete the manifest file from the project. Next, right click on the "VistaBridgeDemoApp" project and select Add New Item. Choose an Application Manifest File and MAKE SURE you name it as follows: VistaBridgeDemoApp.exe.manifest and then press enter. Now double click on the new manifest file, select all the text and replace it with the text that was copied out of the old manifest. You can now Build the solution and the Demo App should now operate properly. If you still have problems, try closing Visual Studio and then Re-opening it.

.

This only appears to be an issue with VS2008, and it may have been fixed by the time you are reading this, so try to run the project first, and if you click on one of the 'TaskDialog' buttons and see it popup (ie you dont see an exception) then you do not need to take these steps, if you do get an exception, follow the steps below:

.

To Run the VistaBridge Project in Visual Studio 2008, you must re-create the Application Manifest file. To do this, open the manifest already in the project, copy all of the text from it to notepad and then delete the manifest file from the project. Next, right click on the "VistaBridgeDemoApp" project and select Add New Item. Choose an Application Manifest File and MAKE SURE you name it as follows: VistaBridgeDemoApp.exe.manifest and then press enter. Now double click on the new manifest file, select all the text and replace it with the text that was copied out of the old manifest. You can now Build the solution and the Demo App should now operate properly. If you still have problems, try closing Visual Studio and then Re-opening it.

Interfaces

40: +
.

     [ComImport(), InterfaceType(ComInterfaceType.InterfaceIsDual), Guid("fd8256d0-fd15-11ce-abc4-02608c9e7553")]

.

        [DispId(8)]

.
Documentation
.

[ComImport, SuppressUnmanagedCodeSecurity, InterfaceType(ComInterfaceType.InterfaceIsIDispatch), Guid("34A715A0-6587-11D0-924A-0020AFC7AC4D")]

.

      [DispId(0x68)]

.

      [DispId(0x108)]

.

<ComImport, SuppressUnmanagedCodeSecurity, InterfaceType(ComInterfaceType.InterfaceIsIDispatch), Guid("34A715A0-6587-11D0-924A-0020AFC7AC4D")> _

.

      <DispId(268)> _

.

      <DispId(258)> _

.

      <DispId(108)> _

.

    <Guid("95A391C5-9ED4-4C28-8401-AB9E06719E11")> _

.

[Guid("F490EB00-1240-11D1-9888-006097DEACF9")]

.

<ComImport(), InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("F490EB00-1240-11D1-9888-006097DEACF9")> _

.

static readonly Guid CLSID_ActiveDesktop = new Guid("{75048700-EF1F-11D0-9888-006097DEACF9}");

44: IADs
.

[ComImport(), InterfaceType(ComInterfaceType.InterfaceIsDual), Guid("001677d0-fd16-11ce-abc4-02608c9e7553")]

.
Documentation
.

[ComImport(), InterfaceType(ComInterfaceType.InterfaceIsDual), Guid("001677d0-fd16-11ce-abc4-02608c9e7553")]

.
Documentation
.

[Guid("79EAC9D0-BAF9-11CE-8C82-00AA004BA90B")]

.

<Guid("79EAC9D0-BAF9-11CE-8C82-00AA004BA90B")> _

.

    ACO_FILTERPREFIXES = 0x0008,

.

    ACO_WORD_FILTER = 0x0080,

.

    Guid("79EAC9C0-BAF9-11CE-8C82-00AA004BA90B"),

.

<ComImport(), Guid("79EAC9C0-BAF9-11CE-8C82-00AA004BA90B"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _

.

    Guid("79EAC9C1-BAF9-11CE-8C82-00AA004BA90B"),

.

    ,BINDF_OFFLINEOPERATION      = 0x00000008

.

    ,BINDF_PULLDATA          = 0x00000080

.

    ,BINDF_NO_UI             = 0x00000800

.

    ,BINDF_RESERVED_1        = 0x00008000

.

    ,BINDF_GETFROMCACHE_IF_NET_FAIL  = 0x00080000

.

    ,BINDF_ENFORCERESTRICTED     = 0x00800000

.

        E_NOTIMPL = 0x80004001,

.

        E_OUTOFMEMORY = 0x8007000E,

.

        E_INVALIDARG = 0x80070057,

.

        E_NOINTERFACE = 0x80004002,

.

        E_POINTER = 0x80004003,

.

        E_HANDLE = 0x80070006,

.

        E_ABORT = 0x80004004,

.

        E_FAIL = 0x80004005,

.

        E_ACCESSDENIED = 0x80070005,

.

        CONNECT_E_FIRST = 0x80040200,

.

        SELFREG_E_TYPELIB = 0x80040200, // failed to register/unregister type library

.

        INET_E_INVALID_URL = 0x800C0002,

.

        INET_E_NO_SESSION = 0x800C0003,

.

        INET_E_CANNOT_CONNECT = 0x800C0004,

.

        INET_E_RESOURCE_NOT_FOUND = 0x800C0005,

.

        INET_E_OBJECT_NOT_FOUND = 0x800C0006,

.

        INET_E_DATA_NOT_AVAILABLE = 0x800C0007,

.

        INET_E_DOWNLOAD_FAILURE = 0x800C0008,

.

        INET_E_AUTHENTICATION_REQUIRED = 0x800C0009,

.

        INET_E_NO_VALID_MEDIA = 0x800C000A,

.

        INET_E_CONNECTION_TIMEOUT = 0x800C000B,

.

        INET_E_INVALID_REQUEST = 0x800C000C,

.

        INET_E_UNKNOWN_PROTOCOL = 0x800C000D,

.

        INET_E_SECURITY_PROBLEM = 0x800C000E,

.

        INET_E_CANNOT_LOAD_DATA = 0x800C000F,

.

        INET_E_CANNOT_INSTANTIATE_OBJECT = 0x800C0010,

.

        INET_E_USE_DEFAULT_PROTOCOLHANDLER = 0x800C0011,

.

        INET_E_DEFAULT_ACTION = 0x800C0011,

.

        INET_E_USE_DEFAULT_SETTING = 0x800C0012,

.

        INET_E_QUERYOPTION_UNKNOWN = 0x800C0013,

.

        INET_E_REDIRECT_FAILED = 0x800C0014,//INET_E_REDIRECTING

.

        INET_E_REDIRECT_TO_DIR = 0x800C0015,

.

        INET_E_CANNOT_LOCK_REQUEST = 0x800C0016,

.

        INET_E_USE_EXTEND_BINDING = 0x800C0017,

.

        INET_E_ERROR_FIRST = 0x800C0002,

.

        INET_E_ERROR_LAST = 0x800C0017,

.

        INET_E_CODE_DOWNLOAD_DECLINED = 0x800C0100,

.

        INET_E_RESULT_DISPATCHED = 0x800C0200,

.

        INET_E_CANNOT_REPLACE_SFP_FILE = 0x800C0300,

.

[Guid("B196B28F-BAB4-101A-B69C-00AA00341D07")]

.

    <Guid("B196B28F-BAB4-101A-B69C-00AA00341D07")>

.

    CLSCTX_INPROC_SERVER16 = &H8

.

    CLSCTX_RESERVED2 = &H80

.

    CLSCTX_RESERVED5 = &H800

.

    CLSCTX_DISABLE_AAA = &H8000

.

[Guid("B196B28F-BAB4-101A-B69C-00AA00341D07")]

.

  <Guid("B196B28F-BAB4-101A-B69C-00AA00341D07")> _

.

    Guid("9c2c4058-23f5-41de-877a-df3af236a09e")]

.

    [Guid("bcfce0a0-ec17-11d0-8d10-00a0c90f2719")]

.

[Guid(0x29840822, 0x5b84, 0x11d0, 0xbd, 0x3b, 0x00, 0xa0, 0xc9, 0x11, 0xce, 0x86)]

.

[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("3050F3F0-98B5-11CF-BB82-00AA00BDCE0B")]

.

Guid("3050f3f0-98b5-11cf-bb82-00aa00bdce0b")> _

.

    [Guid("79D16DE4-ABEE-4021-8D9D-9169B261D657")]

.

<Guid("79D16DE4-ABEE-4021-8D9D-9169B261D657")> _

.

''' [Guid("AE07101B-46D4-4a98-AF68-0333EA26E113")]

.

        rkCat.CreateSubKey("{0DF44EAA-FF21-4412-828E-260A8728E7F1}")

.

    <Guid("C6FC82EA-AF64-43AF-BA1F-32A634C5FCC7")> _

.

    ACTUAL = &H8

.

<Guid("FC4801A3-2BA9-11CF-A229-00AA003D7352")> _

.

<ComImport(), Guid("6D67E846-5B9C-4db8-9CBC-DDE12F4254F1"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _

.

<Guid("012dd920-7b26-11d0-8ca9-00a0c92dbfe8")> _

.

<Guid("79D16DE4-ABEE-4021-8D9D-9169B261D657")> _

.

<Guid("EB0FE172-1A3A-11D0-89B3-00A0C90A90AC")> _

.

<Guid("6d5140c1-7436-11ce-8034-00aa006009fa")> _

.

<Guid("68284faa-6a48-11d0-8c78-00c04fd918b4")> _

.

<Guid("f1db8392-7331-11d0-8c99-00a0c92dbfe8")> _

.

    TaskbarToolBar = 8

.

    [Guid("79D16DE4-ABEE-4021-8D9D-9169B261D657")]

.

<Guid("79D16DE4-ABEE-4021-8D9D-9169B261D657")> _

.

''' [Guid("AE07101B-46D4-4a98-AF68-0333EA26E113")]

.

        rkCat.CreateSubKey("{0DF44EAA-FF21-4412-828E-260A8728E7F1}")

.

<Guid("C6FC82EA-AF64-43AF-BA1F-32A634C5FCC7")> _

.

    ACTUAL = &H8

.

<Guid("FC4801A3-2BA9-11CF-A229-00AA003D7352")> _

.

<ComImport(), Guid("6D67E846-5B9C-4db8-9CBC-DDE12F4254F1"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _

.

<Guid("012dd920-7b26-11d0-8ca9-00a0c92dbfe8")> _

.

<Guid("79D16DE4-ABEE-4021-8D9D-9169B261D657")> _

.

<Guid("EB0FE172-1A3A-11D0-89B3-00A0C90A90AC")> _

.

<Guid("6d5140c1-7436-11ce-8034-00aa006009fa")> _

.

<Guid("68284faa-6a48-11d0-8c78-00c04fd918b4")> _

.

<Guid("f1db8392-7331-11d0-8c99-00a0c92dbfe8")> _

.

    TaskbarToolBar = 8

.

    [Guid("2A07407E-6497-4A18-9787-32F79BD0D98F"),

.

[Guid("C4D244B0-D43E-11CF-893B-00AA00BDCE1A")]

.

<ComImport(), Guid("C4D244B0-D43E-11CF-893B-00AA00BDCE1A"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _

.

[GuidAttribute("3050f6d0-98b5-11cf-bb82-00aa00bdce0b")]

.

<Guid("3050f6d0-98b5-11cf-bb82-00aa00bdce0b")> _

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


 
Access PInvoke.net directly from VS: