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;

netapi32

.

     public IntPtr DomainSid;

.

     public IntPtr DomainSid;

.
Summary
Returns the name of the site where a computer resides. For a domain controller (DC), the name of the site is the location of the configured DC. For a member workstation or member server, the name specifies the workstation site as configured in the domain of the computer.
.

        byte[] Sid = null;

.

        uint cbSid = 0;

.

        SID_NAME_USE sidUse;

.

        if (!LookupAccountName(this.ResourceName, this.UserName, Sid, ref cbSid, referencedDomainName, ref cchReferencedDomainName, out sidUse))

.

            Sid = new byte[cbSid];

.

            if (!LookupAccountName(this.ResourceName, this.UserName, Sid, ref cbSid, referencedDomainName, ref cchReferencedDomainName, out sidUse))

.

    static extern bool LookupAccountSid(

.

        [MarshalAs(UnmanagedType.LPArray)] byte[] Sid,

.

        out SID_NAME_USE SIDUse);

.

        public IntPtr pSID;

.

    enum SID_NAME_USE

.

        SidTypeUser = 1,

.

        SidTypeGroup,

.

        SidTypeDomain,

.

        SidTypeAlias,

.

        SidTypeWellKnownGroup,

.

        SidTypeDeletedAccount,

.

        SidTypeInvalid,

.

        SidTypeUnknown,

.

        SidTypeComputer

.

        SID_NAME_USE eUse;

.

        // Sid for BUILTIN\Administrators

.

        byte[] baSid = new byte[] { 1, 2, 0, 0, 0, 0, 0, 5, 32, 0, 0, 0, 32, 2 };

.

        if (!LookupAccountSid(null, baSid, sbName, ref uiName, sbReferencedDomainName, ref uiReferencedDomainNameCount, out eUse))

.

    public static void AddMemberToLocalGroup(string groupName, SecurityIdentifier sid)

.

        var sidBytes = new byte[sid.BinaryLength];

.

        sid.GetBinaryForm(sidBytes, 0);

.

            pSID = Marshal.AllocHGlobal(sidBytes.Length)

.

            Marshal.Copy(sidBytes, 0, info3.pSID, sidBytes.Length);

.

            Marshal.FreeHGlobal(info3.pSID);

.

        static extern bool LookupAccountSid(

.

            [MarshalAs(UnmanagedType.LPArray)] byte[] Sid,

.

            out SID_NAME_USE SIDUse);

.

            public IntPtr pSID;

.

            SID_NAME_USE eUse;

.

            // Sid for BUILTIN\Administrators

.

            byte[] baSid = new byte[] { 1, 2, 0, 0, 0, 0, 0, 5, 32, 0, 0, 0, 32, 2 };

.

            if (!LookupAccountSid(null, baSid, sbName, ref uiName, sbReferencedDomainName, ref uiReferencedDomainNameCount, out eUse))

.

        public static void RemoveFromLocalGroup(string groupName, SecurityIdentifier sid)

.

            var sidBytes = new byte[sid.BinaryLength];

.

            sid.GetBinaryForm(sidBytes, 0);

.

                pSID = Marshal.AllocHGlobal(sidBytes.Length)

.

                Marshal.Copy(sidBytes, 0, info.pSID, sidBytes.Length);

.

                Marshal.FreeHGlobal(info.pSID);

.

        static extern bool LookupAccountSid(

.

            [MarshalAs(UnmanagedType.LPArray)] byte[] Sid,

.

            out SID_NAME_USE SIDUse);

.

            SID_NAME_USE eUse;

.

            // Sid for BUILTIN\Administrators

.

            byte[] baSid = new byte[] { 1, 2, 0, 0, 0, 0, 0, 5, 32, 0, 0, 0, 32, 2 };

.

            if (!LookupAccountSid(null, baSid, sbName, ref uiName, sbReferencedDomainName, ref uiReferencedDomainNameCount, out eUse))

.

            public int lgrmi2_sid;

.

            public int lgrmi2_sidusage;

.

                    myList.Add(Members[i].lgrmi2_domainandname + "," + Members[i].lgrmi2_sidusage);

.

    ''' <param name="totalentries">[out] Pointer to a value that receives the total number of entries that could have been enumerated from the current resume position. Note that applications should consider this value only as a hint.</param>

.

* Inside the Main function

.

If you want to find the user logged in to the workstation, consider instead a WMI query ("select UserName from Win32_ComputerSystem"), which has certain advantages (runs faster, less ambigious results, doesn't require Interop if using .Net 2.0 System.Management namespace, etc.)

.

      /// <summary>Pointer to a SID structure that contains the security identifier (SID) that uniquely identifies the user.</summary>

.

      public int usri23_user_sid;

.

    Public usri23_user_sid As Integer

rapi

.

   public int dwProcessID;    

winspool

.

Inside we both know what's been going on

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


 
Access PInvoke.net directly from VS: