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

Interfaces

.

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

.

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

.

Guid ( CLSIDGuid.FileOpenDialog )]

.

Guid ( CLSIDGuid.FileSaveDialog )]

.

interface GetClassID {

.

Interface GetClassID

.
Documentation
[GetClassID] on MSDN
.

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

.

     Type typeActiveDesktop = Type.GetTypeFromCLSID(CLSID_ActiveDesktop);

.

static readonly Guid CLSID_AutoComplete = new Guid("{00BB2763-6A77-11D0-A535-00C04FD7D062}");

.

    Type CAutoComplete = Type.GetTypeFromCLSID(CLSID_AutoComplete);

.

        void GetBindResult(out Guid pclsidProtocol, out uint pdwResult, [MarshalAs(UnmanagedType.LPWStr)] out string pszResult, [In, Out] ref uint dwReserved);

.

    Sub GetBindResult(ByRef pclsidProtocol As Guid, ByRef pdwResult As UInteger, <MarshalAs(UnmanagedType.LPWStr)> ByRef pszResult As String, <[In](), [Out]()> ByRef dwReserved As UInteger)

.

    ,BINDSTATUS_CLASSIDAVAILABLE

.

    ,BINDSTATUS_PROTOCOLCLASSID

.

    ,BINDSTATUS_CLSIDCANINSTANTIATE

.

        /// <returns>An IEnumCLSID interface that can be used to enumerate the

.

        /// CLSIDs of the classes that implement category rcatid.</returns>

.

        /// <param name="rclsid">The class ID of the relevent class to query.</param>

.

        /// S_OK rclsid is of category rcatid.

.

        /// S_FALSE rclsid is not of category rcatid.

.

        int RemoteIsClassOfCategories([In] ref Guid rclsid,

.

        /// <param name="rclsid">Specifies the class ID.</param>

.

        /// CATIDs that are implemented by rclsid.</returns>

.

        IEnumGUID EnumImplCategoriesOfClass([In] ref Guid rclsid);

.

        /// <param name="rclsid">Specifies the class ID.</param>

.

        /// CATIDs that are required by rclsid.</returns>

.

        IEnumGUID EnumReqCategoriesOfClass([In] ref Guid rclsid);

.

        /// <param name="rclsid">The class ID of the relevent class for which category information will be set.</param>

.

        void RegisterClassImplCategories([In] ref Guid rclsid, uint cCategories, [In, MarshalAs(UnmanagedType.LPArray)] Guid[] rgcatid);

.

        /// <param name="rclsid">The class ID of the relevant class to be manipulated.</param>

.

        void UnRegisterClassImplCategories([In] ref Guid rclsid, uint cCategories, [In, MarshalAs(UnmanagedType.LPArray)] Guid[] rgcatid);

.

        /// <param name="rclsid">The class ID of the relevent class for which category information will be set.</param>

.

        void RegisterClassReqCategories([In] ref Guid rclsid, uint cCategories, [In, MarshalAs(UnmanagedType.LPArray)] Guid[] rgcatid);

.

        /// <param name="rclsid">The class ID of the relevent class to be manipulated.</param>

.

        void UnRegisterClassReqCategories([In] ref Guid rclsid, uint cCategories, [In, MarshalAs(UnmanagedType.LPArray)] Guid[] rgcatid);

.

    Function CoGetClassObject(<MarshalAs(UnmanagedType.LPStruct)> rclsid As Guid,

.

     ref Guid clsidDeviceClass,

.

    ' Function ShowDeskBand(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer Implements IDeskBand2.ShowDeskBand

.

    ' Function HideDeskBand(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer Implements IDeskBand.HideDeskBand

.

    ' Function IsDeskBandShown(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer Implements IDeskBand2.IsDeskBandShown

.

    Dim rkClass As RegistryKey = Registry.ClassesRoot.CreateSubKey("CLSID\" & guid)

.

    Registry.ClassesRoot.CreateSubKey("CLSID").DeleteSubKeyTree(guid)

.

    Function ShowDeskBand(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer

.

    Function HideDeskBand(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer

.

    Function IsDeskBandShown(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer

.

    Sub GetClassID(ByRef pClassID As Guid)

.

    Sub GetClassID(ByRef pClassID As Guid)

.

    ' Function ShowDeskBand(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer Implements IDeskBand2.ShowDeskBand

.

    ' Function HideDeskBand(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer Implements IDeskBand.HideDeskBand

.

    ' Function IsDeskBandShown(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer Implements IDeskBand2.IsDeskBandShown

.

    Dim rkClass As RegistryKey = Registry.ClassesRoot.CreateSubKey("CLSID\" & guid)

.

    Registry.ClassesRoot.CreateSubKey("CLSID").DeleteSubKeyTree(guid)

.

    Function ShowDeskBand(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer

.

    Function HideDeskBand(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer

.

    Function IsDeskBandShown(<[In](), MarshalAs(UnmanagedType.Struct)> ByRef clsid As Guid) As Integer

.

    Sub GetClassID(ByRef pClassID As Guid)

.

    Sub GetClassID(ByRef pClassID As Guid)

.

    IDropTargetHelper dropHelper = Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid("4657278A-411B-11D2-839A-00C04FD918D0"))) as IDropTargetHelper;

.

     public Guid clsid;

.

  [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]

.

    private Guid _CLSID_SecurityManager = new Guid("7b8a2d94-0ac9-11d1-896c-00c04fb6bfc4");

.

    Type t = Type.GetTypeFromCLSID(_CLSID_SecurityManager);

.

  <object classid="<class guid>" width=0 height=0 ID="MyObjectId" VIEWASTEXT></object>

.

        this.izm = Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid("7b8a2d95-0ac9-11d1-896c-00c04Fb6bfc4"))) as IInternetZoneManager;

.

        Me.izm = CType(Activator.CreateInstance(Type.GetTypeFromCLSID(New Guid("7b8a2d95-0ac9-11d1-896c-00c04Fb6bfc4"))), IInternetZoneManager)

.

    void FolderIdFromCsidl ( [In] int nCsidl, out Guid pfid );

.

    void FolderIdToCsidl ( [In] ref Guid rfid, out int pnCsidl );

.

    void FolderIdFromCsidl ( [In] int nCsidl, out Guid pfid );

.

    void FolderIdToCsidl ( [In] ref Guid rfid, out int pnCsidl );

.

        IMetaDataDispenser metaDataDispenser = Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid("E5CB7A31-7512-11d2-89CE-0080C792E5D8"))) as IMetaDataDispenser;

.

    /// <param name="rclsid">[in] The CLSID of the version of metadata structures to be created. This value must be CLSID_CorMetaDataRuntime.</param>

.

    ///     REFCLSID    rclsid,         // [in] What version to create.

.

        [In] ref Guid rclsid,

.

IMetaDataDispenser metaDataDispenser = Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid("E5CB7A31-7512-11d2-89CE-0080C792E5D8"))) as IMetaDataDispenser;

.

If a control is marked safe for scripting, it's considered safe for scripting in all Internet security zones. See IInternetSecurityManager for more information.

.

    /// object itself. Outside of IOleObject::SetClientSite, there is no generic means through

.

     void GetUserClassID(uint pClsid);

.

    int GetClassID (out Guid pClassID);

.

The IPersistFile interface inherits its definition from IPersist, so all implementations must also include the GetClassID method of IPersist

.

    new void GetClassID(out Guid pClassID);

.

    int GetClassID (out Guid pClassID);

.

    int GetClassID (out Guid pClassID);

.

This interface is exported by the progress dialog box object (CLSID_ProgressDialog). This object is a generic way to show a user how an operation is progressing. It is typically used when deleting, uploading, copying, moving, or downloading large numbers of files.

.

        [In] IntPtr pclsid,

.
Summary
The Shell uses the IQueryInfo interface to retrieve flags and info tip information for an item that resides in an IShellFolder implementation. Info tips are usually displayed inside of a ToolTip control.
.

  void ConvertObject(int iob, Guid rclsidNew, string lpstrUserTypeNew);

.

  void ActivateAs(Guid rclsid, Guid rclsidAs);

.

Type    obj = Type.GetTypeFromCLSID(new Guid("00021401-0000-0000-C000-000000000046"), true);

.

        /// <summary>Enable the best-fit window mode. Let the view size the window so that its contents fit inside the view window in the best possible manner.</summary>

.

        /* [in] */ Guid clsid);

.

    Sub SetClass(ByVal clsid As Guid)

.

                                    ref Guid    rclsid,

.

    static public Guid CLSID_TaskScheduler = new Guid("148BD52A-A2AB-11CE-B11F-00AA00530503");

.

    Type obj = Type.GetTypeFromCLSID(CLSID_TaskScheduler, true);

.
Constants
IID_ITfLangBarMgr, CLSID_TF_LangBarMgr
.

    Type classtype = Type.GetTypeFromCLSID(CLSID_TF_LangBarMgr, true);

.

Guid CLSID_LocalThumbnailCache = new Guid("50EF4544-AC9F-4A8E-B21B-8A26180DB13F");

.

CoCreateInstance(CLSID_LocalThumbnailCache, IntPtr.Zero, CLSCTX.CLSCTX_INPROC, IID_IUnknown, out cachePointer);

.

    public static Guid SID_STravelLogCursor = new Guid("7EBFDD80-AD18-11d3-A4C5-00C04F72D6B8");

.

        int hr = psp.QueryService(ref SID_STravelLogCursor, ref IID_ITravelLogStg, out oret);

.

      int ShowDeskBand([In, MarshalAs(UnmanagedType.Struct)] ref Guid clsid);

.

      int HideDeskBand([In, MarshalAs(UnmanagedType.Struct)] ref Guid clsid);

.

      int IsDeskBandShown([In, MarshalAs(UnmanagedType.Struct)] ref Guid clsid);

.

    Type trayDeskbandType = System.Type.GetTypeFromCLSID(new Guid("E6442437-6C68-4f52-94DD-2CFED267EFB9"));

.

    void ShowBrowserBar([In, MarshalAs(UnmanagedType.Struct)] ref object pvaClsid, [In, Optional, MarshalAs(UnmanagedType.Struct)] ref object pvarShow, [In, Optional, MarshalAs(UnmanagedType.Struct)] ref object pvarSize);

.

    <ComImport(), Guid("D30C1661-CDAF-11D0-8A3E-00C04FC9E26E"), InterfaceType(ComInterfaceType.InterfaceIsIDispatch), DefaultMember("Name"), SuppressUnmanagedCodeSecurity()> _

.

    Sub ShowBrowserBar(<[In]()> ByRef pvaClsid As Object, <[In]()> ByRef pvarShow As Object, <[In]()> ByRef pvarSize As Object)

.

    void ShowBrowserBar([In, MarshalAs(UnmanagedType.Struct)] ref object pvaClsid, [In, Optional, MarshalAs(UnmanagedType.Struct)] ref object pvarShow, [In, Optional, MarshalAs(UnmanagedType.Struct)] ref object pvarSize);

.

    <ComImport(), Guid("D30C1661-CDAF-11D0-8A3E-00C04FC9E26E"), InterfaceType(ComInterfaceType.InterfaceIsIDispatch), DefaultMember("Name"), SuppressUnmanagedCodeSecurity()> _

.

    Sub ShowBrowserBar(<[In]()> ByRef pvaClsid As Object, <[In]()> ByRef pvarShow As Object, <[In]()> ByRef pvarSize As Object)

.

    void RegisterEventCallbackCLSID(

.

        [In] ref Guid clsid,

.

        [In] ref Guid clsid);

.

      public Guid clsid;

quickusb

.

            LastError = "Unknown error inside WriteData";

.

            LastError = "Unknown error inside WriteData";

iphlpapi

.

    if ($services[$j].ProcessId -eq $y[$i].owningPid) {

kernel32

.
Summary
The ActivateActCtx function activates the specified activation context. It does this by pushing the specified activation context to the top of the activation stack. The specified activation context is thus associated with the current thread and any appropriate side-by-side API functions.
.

    static extern bool AttachConsole(uint dwProcessId);

.

     Declare Function AttachConsole, Lib "kernel32.dll" (dwProcessId as uint) As bool

.
  • dwProcessId Values
.
  • dwProcessId should be uint.Max (ATTACH_PARENT_PROCESS) or the process' ID that you want to attach to (untested in .NET for me anyway)
.

    ///  USAGE: Place inside your program's main static class

.

    /// <param name="dwProcessId">[in] Identifier of the process, usually will be ATTACH_PARENT_PROCESS</param>

.

    static extern bool AttachConsole(uint dwProcessId);

.

    static extern bool AttachConsole(uint dwProcessId);

.

     Declare Function AttachConsole, Lib "kernel32.dll" (dwProcessId as uint) As bool

.
  • dwProcessId Values
.
  • dwProcessId should be uint.Max (ATTACH_PARENT_PROCESS) or the process' ID that you want to attach to (untested in .NET for me anyway)
.

    ///  USAGE: Place inside your program's main static class

.

    /// <param name="dwProcessId">[in] Identifier of the process, usually will be ATTACH_PARENT_PROCESS</param>

.

    static extern bool AttachConsole(uint dwProcessId);

.

Checks for RemoteDebugger on the 'hProcess'. The "remote" in CheckRemoteDebuggerPresent does not imply that the debugger necessarily resides on a different computer; instead, it indicates that the debugger resides in a separate and parallel process. Use the IsDebuggerPresent function to detect whether the calling process is running under the debugger.

.

For .NET 2.0, consider using Microsoft.Win32.SafeHandles.SafeFileHandle instead. It can be used where IntPtr is used. If you use a SafeFileHandle, do not call CloseHandle as the CLR will close it for you (even if it's already closed).

.

        uint dwProcessId

.

/* A complete wrapper for named pipes (both client and server sides). Yes, its overkill for this p/invoke entry, but

.

    ///     Server side

.

    ///     Client side

.

    ///     Server side caveat:

.

    /// Server side creation option:

.

    /// Opens the client side of a pipe.

.

    /// <param name="mode">Read,Write, or ReadWrite - must be compatible with server-side creation mode</param>

.

        throw new Exception("Listen() is only for server-side streams");

.

        throw new Exception("Disconnect() is only for server-side streams");

.

            throw new Exception("IsConnected() is only for server-side streams");

. * Server-side sample code: .

        // Client side sample code:

.

     Console.WriteLine("Process ID (PID): " + pInfo.dwProcessId);

.

     Console.WriteLine("Process ID (PID): " + pInfo.dwProcessId)

.

static extern IntPtr CreateToolhelp32Snapshot(SnapshotFlags dwFlags, uint th32ProcessID);

.

Private Shared Function CreateToolhelp32Snapshot(ByVal dwFlags As SnapshotFlags, ByVal th32ProcessID As UInteger) As IntPtr

.

    internal UInt32 th32ProcessID;

.

    internal UInt32 th32ParentProcessID;

.

    static extern IntPtr CreateToolhelp32Snapshot([In]UInt32 dwFlags, [In]UInt32 th32ProcessID);

.

            if (pid == procEntry.th32ProcessID)

.

            parentProc = Process.GetProcessById((int)procEntry.th32ParentProcessID);

.

static extern bool DebugActiveProcessStop(int dwProcessId);

.

     FsctlFindFilesBySid = (EFileDevice.FileSystem << 16) | (35 << 2) | EMethod.Neither | (0 << 14),

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


 
Access PInvoke.net directly from VS: