Desktop Functions: Smart Device Functions:
|
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 )] 4: GetClassID
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); 7: IBinding
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); 10: ICatRegister
/// <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); 11: IClassFactory
Function CoGetClassObject(<MarshalAs(UnmanagedType.LPStruct)> rclsid As Guid, 12: ICreateDevEnum
ref Guid clsidDeviceClass, 13: IDeskBand
' 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) 14: IDeskBand2
' 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) 19: IKnownFolder
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; 23: IObjectSafety If a control is marked safe for scripting, it's considered safe for scripting in all Internet security zones. See IInternetSecurityManager for more information. 24: IObjectWithSite
/// object itself. Outside of IOleObject::SetClientSite, there is no generic means through 25: IOleObject
void GetUserClassID(uint pClsid); 26: IPersist
int GetClassID (out Guid pClassID); 27: IPersistFile 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); 28: IPersistStream
int GetClassID (out Guid pClassID);
int GetClassID (out Guid pClassID); 30: IProgressDialog 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, 32: IQueryInfo 33: IRichEditOle
void ConvertObject(int iob, Guid rclsidNew, string lpstrUserTypeNew);
void ActivateAs(Guid rclsid, Guid rclsidAs); 34: IShellLinkW
Type obj = Type.GetTypeFromCLSID(new Guid("00021401-0000-0000-C000-000000000046"), true); 35: IShellView
/// <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> 36: IStorage
/* [in] */ Guid clsid);
Sub SetClass(ByVal clsid As Guid) 37: ITaskScheduler
ref Guid rclsid,
static public Guid CLSID_TaskScheduler = new Guid("148BD52A-A2AB-11CE-B11F-00AA00530503");
Type obj = Type.GetTypeFromCLSID(CLSID_TaskScheduler, true); 38: ITfLangBarMgr 39: IThumbnailCache
Guid CLSID_LocalThumbnailCache = new Guid("50EF4544-AC9F-4A8E-B21B-8A26180DB13F");
CoCreateInstance(CLSID_LocalThumbnailCache, IntPtr.Zero, CLSCTX.CLSCTX_INPROC, IID_IUnknown, out cachePointer); 40: ITravelLogStg
public static Guid SID_STravelLogCursor = new Guid("7EBFDD80-AD18-11d3-A4C5-00C04F72D6B8");
int hr = psp.QueryService(ref SID_STravelLogCursor, ref IID_ITravelLogStg, out oret); 41: ITrayDeskband
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")); 42: IWebBrowser
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) 43: IWebBrowser2
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) 44: IWiaDevMgr
void RegisterEventCallbackCLSID(
[In] ref Guid clsid,
[In] ref Guid clsid); 46: STATSTG
public Guid clsid; netapi32
public IntPtr DomainSid;
public IntPtr DomainSid; 48: DsGetSiteName 49: GOYI4F8Q3D6OTHD0Y3SDEKT4U01CUGOJHY1TIR11XG2AAJV2CNKDL5LQ9CCI5Y6LB6SZB2KSIDX6OO247TWSSCFYN3STVBTUKMXU
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); 52: NetLocalGroupDel
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); 55: NetSessionEnum
''' <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> 56: NetShareGetInfo * Inside the Main function 57: NetWkstaUserEnum 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.) 58: USER_INFO_23
/// <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 rapi59: CeCreateProcess
public int dwProcessID; winspoolInside we both know what's been going on Cut off search results after 60. Please refine your search. |