Desktop Functions: Smart Device Functions:
|
Search Results for "SID" in [All]netapi32
public IntPtr DomainSid;
public IntPtr DomainSid; 3: 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);
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> 10: NetShareGetInfo * Inside the Main function 11: 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.) 12: 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 dtlInside we both know what's been going on kernel3214: ActivateActCtx 15: AttachConsole,
static extern bool AttachConsole(uint dwProcessId);
Declare Function AttachConsole, Lib "kernel32.dll" (dwProcessId as uint) As bool
/// 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); 16: AttachConsole
static extern bool AttachConsole(uint dwProcessId);
Declare Function AttachConsole, Lib "kernel32.dll" (dwProcessId as uint) As bool
/// 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. 18: CloseHandle 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). 19: ConsoleFunctions
uint dwProcessId 20: CreateNamedPipe /* 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");
// Client side sample code: 21: CreateProcess
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); 24: DeviceIoControl
FsctlFindFilesBySid = (EFileDevice.FileSystem << 16) | (35 << 2) | EMethod.Neither | (0 << 14),
Dim ResID = MAKEINTRESOURCE(lpzName)
SLst.Add(ResID)
SLst = New List(Of String)({ResID}) FileTimeToLocalFileTime converts a time from UTC time (also known as Greenwich Mean Time) to "local time" (inside the computer's selected time zone). The source and target times are stored in FILETIME structures. The function returns 1 if successful, or 0 if an error occurs.FileTimeToLocalFileTime Converts a UTC file time to a local file time. System.DateTime.ToFileTime FileTimeToLocalFileTime Converts a UTC file time to a local file time. System.DateTime.ToLocalTime
internal static extern IntPtr OpenProcess(int dwDesiredAccess, bool bInheritHandle, int dwProcessId); 28: GetBinaryType
#Using more user friendly names since they won't likely be used outside this context
static extern uint GetCurrentProcessId();
Declare Function GetCurrentProcessId Lib "kernel32" () As Integer
public static extern uint GetCurrentProcessId();
uint MyID = FindMyself.GetCurrentProcessId(); If you want to use GetModuleFilename to retrieve the path the current executable was started from, you should instead consider using System.Windows.Forms.Application.StartupPath. This is a wrapper around GetModuleFilename, so it probably does exactly what you want.
public static extern bool GetNamedPipeServerProcessId(IntPtr Pipe, out int ServerProcessId);
public static extern bool GetNamedPipeServerProcessId(SafePipeHandle Pipe, out int ServerProcessId);
Declare Function GetNamedPipeServerProcessId Lib "kernel32.dll" (TODO) As TODO 33: GetProcessId
public static extern uint GetProcessIdOfThread(IntPtr handle);
Declare Function GetProcessIdOfThread Lib "kernel32" (ByVal Thread As IntPtr) As UInt32
public static extern uint GetProcessIdOfThread(IntPtr handle);
Declare Function GetProcessIdOfThread Lib "kernel32.dll" (TODO) As TODO 35: GetShortPathName
// don´t allocate stringbuilder here but outside of the function for fast access The VB Code was generated by the tool at http://clrinterop.codeplex.com/releases/view/14120. I believe this to be the same tool referenced at http://blogs.msdn.com/b/vbteam/archive/2008/03/14/making-pinvoke-easy.aspx. The StringBuilder limitation appears to apply to this code as well, and it will only return the first path/mountpoint found, but the method does work inside that limitation. I will post updated code as soon as I code and test. The VB Code was generated by the tool at http://clrinterop.codeplex.com/releases/view/14120. I believe this to be the same tool referenced at http://blogs.msdn.com/b/vbteam/archive/2008/03/14/making-pinvoke-easy.aspx. The StringBuilder limitation appears to apply to this code as well, and it will only return the first path/mountpoint found, but the method does work inside that limitation. I will post updated code as soon as I code and test. The CLR offers us no way to tell if memory is getting tight. Many think that this API provides the best solution. This is mentioned by Jeffrey Richter in his book 'CLR via C#' ISBN: 0-7356-2163-2. It is useful in determining if your system is under excessive memory load by looking at the dwMemoryLoad member of the MEMORYSTATUSEX structure. If this value is > 80 (per Mr. Richter in his discussion of Garbage Collection), it is an indication that you might want to consider converting some strong references into weak references. Remember that a weakreference type will be collected when Generation 0 is full, so it is not a good technique for caching (as many seem to think). The CLR offers us no way to tell if memory is getting tight. Many think that this API provides the best solution. This is mentioned by Jeffrey Richter in his book 'CLR via C#' ISBN: 0-7356-2163-2. It is useful in determining if your system is under excessive memory load by looking at the dwMemoryLoad member of the MEMORYSTATUSEX structure. If this value is > 80 (per Mr. Richter in his discussion of Garbage Collection), it is an indication that you might want to consider converting some strong references into weak references. Remember that a weakreference type will be collected when Generation 0 is full, so it is not a good technique for caching (as many seem to think). 40: Heap32ListFirst
bool r2 = ToolHelp.Heap32First(ref heapentry, hlist.th32ProcessID, hlist.th32HeapID); 41: lstrcat in VS 2005 just start a new webpage and inside the aspx.cs file... 42: Module32Next
uint pid = GetProcessId(hProcess); 43: MODULEENTRY32
internal uint th32ProcessID; 44: NetBIOS Considered Obsolete 45: OpenProcess
int processId
Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As ProcessAccessFlags, bInheritHandle As Boolean, processId As UInt32) As IntPtr 46: PROCESSENTRY32
public uint th32ProcessID;
public uint th32ParentProcessID;
Public th32ProcessID As UInteger
Public th32ParentProcessID As UInteger
internal UInt32 th32ProcessID;
internal UInt32 th32ParentProcessID;
static extern bool ProcessIdToSessionId(uint dwProcessId, out uint pSessionId);
Declare Function ProcessIdToSessionId Lib "kernel32.dll" (ByVal dwProcessId As Int32, ByRef pSessionId As Int32) As Int32 int sessionId = System.Diagnostics.Process.GetProcessById(processId).SessionId; Arguably one of the most frequently used and most important PInvokes used, this is the only way in .NET to get a high performance counter for measurement, unique seeding of Random Variables (although you could perhaps transfer a GUID to a numeric equivalent), and in general what this global consultant would consider a 'must include' in almost any application where Instrumentation is a must. Your initial registration for restart must occur before the application encounters an unhandled exception or becomes unresponsive. You could then call this function from inside your recovery callback to update the command line.
private extern static void RegisterServiceProcess(long dwProcessId, long dwType); 51: THREADENTRY32
internal UInt32 th32OwnerProcessID;
Friend th32OwnerProcessID As UInt32
static extern bool Toolhelp32ReadProcessMemory(uint th32ProcessID,
Public Shared Function Toolhelp32ReadProcessMemory(ByVal th32ProcessID As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal cbRead As Integer, ByRef lpNumberOfBytesRead As Integer) As Integer
Public Shared Function Toolhelp32ReadProcessMemory(ByVal th32ProcessID As Integer, ByVal lpBaseAddress As Integer, <Out()> ByVal lpBuffer As Text.StringBuilder, ByVal cbRead As Integer, ByRef lpNumberOfBytesRead As Integer) As Integer
Private Function GetControlProgID(ByVal iProcessID As Integer, ByVal iBaseAddress As Integer, ByVal iBlkSize As Integer) As String
Toolhelp32ReadProcessMemory(iProcessID, iBaseAddress + 44, iInfoPtr, 4, 0) ' Get pointer to class info...
Toolhelp32ReadProcessMemory(iProcessID, iInfoPtr + 36, iStrPtr, 4, 0) ' Get pointer to Control Class string...
If iStrPtr <> 0 Then Toolhelp32ReadProcessMemory(iProcessID, iStrPtr, sWork, iBlkSize, 0) private static void SetNewProcessParent(ref STARTUPINFOEX startupInfoEx, int parentProcessId)
var parentProcess = Process.GetProcessById(parentProcessId);
throw new Exception(string.Format("Error setting [{0}] as the parentPid for the new process", parentProcessId)); odbc3254: SQLDataSources
Private Sub OnGetODBCConnectionNames(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmbExpSID.DropDown, cmbImpSid.DropDown Enums55: CSIDL
enum CSIDL {
CSIDL_ADMINTOOLS = 0x0030,
CSIDL_ALTSTARTUP = 0x001d,
CSIDL_APPDATA = 0x001a,
CSIDL_BITBUCKET = 0x000a,
CSIDL_CDBURN_AREA = 0x003b,
CSIDL_COMMON_ADMINTOOLS = 0x002f,
CSIDL_COMMON_ALTSTARTUP = 0x001e,
CSIDL_COMMON_APPDATA = 0x0023,
CSIDL_COMMON_DESKTOPDIRECTORY = 0x0019,
CSIDL_COMMON_DOCUMENTS = 0x002e,
CSIDL_COMMON_FAVORITES = 0x001f,
CSIDL_COMMON_MUSIC = 0x0035,
CSIDL_COMMON_OEM_LINKS = 0x003a,
CSIDL_COMMON_PICTURES = 0x0036,
CSIDL_COMMON_PROGRAMS = 0X0017,
CSIDL_COMMON_STARTMENU = 0x0016,
CSIDL_COMMON_STARTUP = 0x0018,
CSIDL_COMMON_TEMPLATES = 0x002d,
CSIDL_COMMON_VIDEO = 0x0037,
CSIDL_COMPUTERSNEARME = 0x003d,
CSIDL_CONNECTIONS = 0x0031,
CSIDL_CONTROLS = 0x0003,
CSIDL_COOKIES = 0x0021,
CSIDL_DESKTOP = 0x0000,
CSIDL_DESKTOPDIRECTORY = 0x0010,
CSIDL_DRIVES = 0x0011,
CSIDL_FAVORITES = 0x0006,
CSIDL_FLAG_CREATE = 0x8000,
CSIDL_FLAG_DONT_VERIFY = 0x4000,
CSIDL_FLAG_MASK = 0xFF00,
CSIDL_FLAG_NO_ALIAS = 0x1000,
CSIDL_FLAG_PER_USER_INIT = 0x0800,
CSIDL_FONTS = 0x0014,
CSIDL_HISTORY = 0x0022,
CSIDL_INTERNET = 0x0001,
CSIDL_INTERNET_CACHE = 0x0020,
CSIDL_LOCAL_APPDATA = 0x001c,
CSIDL_MYDOCUMENTS = 0x000c,
CSIDL_MYMUSIC = 0x000d,
CSIDL_MYPICTURES = 0x0027,
CSIDL_MYVIDEO = 0x000e,
CSIDL_NETHOOD = 0x0013,
CSIDL_NETWORK = 0x0012,
CSIDL_PERSONAL = 0x0005,
CSIDL_PRINTERS = 0x0004,
CSIDL_PRINTHOOD = 0x001b,
CSIDL_PROFILE = 0x0028,
CSIDL_PROGRAM_FILES = 0x0026,
CSIDL_PROGRAM_FILES_COMMON = 0x002b,
CSIDL_PROGRAM_FILES_COMMONX86 = 0x002c,
CSIDL_PROGRAM_FILESX86 = 0x002a,
CSIDL_PROGRAMS = 0x0002,
CSIDL_RECENT = 0x0008,
CSIDL_RESOURCES = 0x0038,
CSIDL_RESOURCES_LOCALIZED = 0x0039,
CSIDL_SENDTO = 0x0009,
CSIDL_STARTMENU = 0x000b,
CSIDL_STARTUP = 0x0007,
CSIDL_SYSTEM = 0x0025,
CSIDL_SYSTEMX86 = 0x0029,
CSIDL_TEMPLATES = 0x0015,
CSIDL_WINDOWS = 0x0024
Enum CSIDL
CSIDL_ADMINTOOLS = &H30
CSIDL_ALTSTARTUP = &H1D
CSIDL_APPDATA = &H1A
CSIDL_BITBUCKET = &HA
CSIDL_CDBURN_AREA = &H3B
CSIDL_COMMON_ADMINTOOLS = &H2F
CSIDL_COMMON_ALTSTARTUP = &H1E
CSIDL_COMMON_APPDATA = &H23
CSIDL_COMMON_DESKTOPDIRECTORY = &H19
CSIDL_COMMON_DOCUMENTS = &H2E
CSIDL_COMMON_FAVORITES = &H1F
CSIDL_COMMON_MUSIC = &H35
CSIDL_COMMON_OEM_LINKS = &H3A
CSIDL_COMMON_PICTURES = &H36
CSIDL_COMMON_PROGRAMS = &H17
CSIDL_COMMON_STARTMENU = &H16
CSIDL_COMMON_STARTUP = &H18
CSIDL_COMMON_TEMPLATES = &H2D
CSIDL_COMMON_VIDEO = &H37
CSIDL_COMPUTERSNEARME = &H3D
CSIDL_CONNECTIONS = &H31
CSIDL_CONTROLS = &H3
CSIDL_COOKIES = &H21
CSIDL_DESKTOP = &H0
CSIDL_DESKTOPDIRECTORY = &H10
CSIDL_DRIVES = &H11
CSIDL_FAVORITES = &H6
CSIDL_FLAG_CREATE = &H8000
CSIDL_FLAG_DONT_VERIFY = &H4000
CSIDL_FLAG_MASK = &HFF00
CSIDL_FLAG_NO_ALIAS = &H1000
CSIDL_FLAG_PER_USER_INIT = &H800
CSIDL_FONTS = &H14
CSIDL_HISTORY = &H22
CSIDL_INTERNET = &H1
CSIDL_INTERNET_CACHE = &H20
CSIDL_LOCAL_APPDATA = &H1C
CSIDL_MYDOCUMENTS = &HC
CSIDL_MYMUSIC = &HD
CSIDL_MYPICTURES = &H27
CSIDL_MYVIDEO = &HE
CSIDL_NETHOOD = &H13
CSIDL_NETWORK = &H12
CSIDL_PERSONAL = &H5
CSIDL_PRINTERS = &H4
CSIDL_PRINTHOOD = &H1B
CSIDL_PROFILE = &H28
CSIDL_PROGRAM_FILES = &H26
CSIDL_PROGRAM_FILES_COMMON = &H2B
CSIDL_PROGRAM_FILES_COMMONX86 = &H2C
CSIDL_PROGRAM_FILESX86 = &H2A
CSIDL_PROGRAMS = &H2
CSIDL_RECENT = &H8
CSIDL_RESOURCES = &H38
CSIDL_RESOURCES_LOCALIZED = &H39
CSIDL_SENDTO = &H9
CSIDL_STARTMENU = &HB
CSIDL_STARTUP = &H7
CSIDL_SYSTEM = &H25
CSIDL_SYSTEMX86 = &H29
CSIDL_TEMPLATES = &H15
CSIDL_WINDOWS = &H24 56: DM
/// Selects duplex or double-sided printing for printers capable of duplex printing. 57: DMDUP
/// Selects duplex or double-sided printing for printers capable of duplex printing. 58: DS_NAME_ERROR
// domain object resides in. Thus DS_NAME_RESULT_ITEM?.pDomain 59: DS_NAME_FORMAT
// This is the string representation of a SID. Invalid for formatDesired.
// See sddl.h for SID binary <--> text conversion routines.
DS_SID_OR_SID_HISTORY_NAME = 11, 60: HRESULT
public const int CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT = unchecked((int)0x80004024);
///Unable to complete the call since there is no COM+ security context inside IObjectControl.Activate.
[Description("Unable to complete the call since there is no COM+ security context inside IObjectControl.Activate.")]
///The provided side-by-side configuration is invalid
[Description("The provided side-by-side configuration is invalid")]
///It is illegal to call out while inside message filter.
[Description("It is illegal to call out while inside message filter.")]
///No context is associated with this call. This happens for some custom marshalled calls and on the client side of the call.
[Description("No context is associated with this call. This happens for some custom marshalled calls and on the client side of the call.")]
public const int CO_E_INVALIDSID = unchecked((int)0x8001012D);
public const int CO_E_NOMATCHINGSIDFOUND = unchecked((int)0x8001012F);
///The system function, LookupAccountSID, failed
[Description("The system function, LookupAccountSID, failed")]
public const int CO_E_LOOKUPACCSIDFAILED = unchecked((int)0x80010130);
///The CLSID was not found in the software installation data in the Active Directory.
[Description("The CLSID was not found in the software installation data in the Active Directory.")]
///The owner SID on a per-user subscription doesn't exist
[Description("The owner SID on a per-user subscription doesn't exist")]
public const int EVENT_E_INVALID_PER_USER_SID = unchecked((int)0x80040207);
public const int EVENT_E_PER_USER_SID_NOT_LOGGED_ON = unchecked((int)0x80040210);
///The SID filtering operation removed all SIDs.
[Description("The SID filtering operation removed all SIDs.")]
public const int ERROR_ALL_SIDS_FILTERED = unchecked((int)0xC0090002);
///A security context was deleted before the context was completed. This is considered a logon failure.
[Description("A security context was deleted before the context was completed. This is considered a logon failure.")]
///An attempt was made by this server to make a Kerberos constrained delegation request for a target outside of the server's realm. This is not supported, and indicates a misconfiguration on this server's allowed to delegate to list. Please contact your administrator.
[Description("An attempt was made by this server to make a Kerberos constrained delegation request for a target outside of the server's realm. This is not supported, and indicates a misconfiguration on this server's allowed to delegate to list. Please contact your administrator.")]
///Tried to reference a part of the file outside the proper range.
[Description("Tried to reference a part of the file outside the proper range.")]
///The component's CLSID is missing or corrupt
[Description("The component's CLSID is missing or corrupt")]
public const int COMADMIN_E_NOREGISTRYCLSID = unchecked((int)0x80110411);
///Application file CLSIDs or IIDs do not match corresponding DLLs
[Description("Application file CLSIDs or IIDs do not match corresponding DLLs")]
public const int COMADMIN_E_CLSIDORIIDMISMATCH = unchecked((int)0x80110418);
///A CLSID with the same GUID as the new application ID is already installed on this machine
[Description("A CLSID with the same GUID as the new application ID is already installed on this machine")]
public const int COMADMIN_E_APPLID_MATCHES_CLSID = unchecked((int)0x80110446);
///The ProgID provided to the copy operation is invalid. The ProgID is in use by another registered CLSID.
[Description("The ProgID provided to the copy operation is invalid. The ProgID is in use by another registered CLSID.")]
public const int COMADMIN_E_PROGIDINUSEBYCLSID = unchecked((int)0x80110815);
Public Const CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT As Integer = CInt(&H80004024UI)
'''Unable to complete the call since there is no COM+ security context inside IObjectControl.Activate.
<Description("Unable to complete the call since there is no COM+ security context inside IObjectControl.Activate.")> _
'''The provided side-by-side configuration is invalid
<Description("The provided side-by-side configuration is invalid")> _
'''It is illegal to call out while inside message filter.
<Description("It is illegal to call out while inside message filter.")> _
'''No context is associated with this call. This happens for some custom marshalled calls and on the client side of the call.
<Description("No context is associated with this call. This happens for some custom marshalled calls and on the client side of the call.")> _
Public Const CO_E_INVALIDSID As Integer = CInt(&H8001012dUI)
Public Const CO_E_NOMATCHINGSIDFOUND As Integer = CInt(&H8001012fUI)
'''The system function, LookupAccountSID, failed
<Description("The system function, LookupAccountSID, failed")> _
Public Const CO_E_LOOKUPACCSIDFAILED As Integer = CInt(&H80010130UI)
'''The CLSID was not found in the software installation data in the Active Directory.
<Description("The CLSID was not found in the software installation data in the Active Directory.")> _
'''The owner SID on a per-user subscription doesn't exist
<Description("The owner SID on a per-user subscription doesn't exist")> _
Public Const EVENT_E_INVALID_PER_USER_SID As Integer = CInt(&H80040207UI)
Public Const EVENT_E_PER_USER_SID_NOT_LOGGED_ON As Integer = CInt(&H80040210UI)
'''The SID filtering operation removed all SIDs.
<Description("The SID filtering operation removed all SIDs.")> _
Public Const ERROR_ALL_SIDS_FILTERED As Integer = CInt(&Hc0090002UI)
'''A security context was deleted before the context was completed. This is considered a logon failure.
<Description("A security context was deleted before the context was completed. This is considered a logon failure.")> _
'''An attempt was made by this server to make a Kerberos constrained delegation request for a target outside of the server's realm. This is not supported, and indicates a misconfiguration on this server's allowed to delegate to list. Please contact your administrator.
<Description("An attempt was made by this server to make a Kerberos constrained delegation request for a target outside of the server's realm. This is not supported, and indicates a misconfiguration on this server's allowed to delegate to list. Please contact your administrator.")> _
'''Tried to reference a part of the file outside the proper range.
<Description("Tried to reference a part of the file outside the proper range.")> _
'''The component's CLSID is missing or corrupt
<Description("The component's CLSID is missing or corrupt")> _
Public Const COMADMIN_E_NOREGISTRYCLSID As Integer = CInt(&H80110411UI)
'''Application file CLSIDs or IIDs do not match corresponding DLLs
<Description("Application file CLSIDs or IIDs do not match corresponding DLLs")> _
Public Const COMADMIN_E_CLSIDORIIDMISMATCH As Integer = CInt(&H80110418UI)
'''A CLSID with the same GUID as the new application ID is already installed on this machine
<Description("A CLSID with the same GUID as the new application ID is already installed on this machine")> _
Public Const COMADMIN_E_APPLID_MATCHES_CLSID As Integer = CInt(&H80110446UI)
'''The ProgID provided to the copy operation is invalid. The ProgID is in use by another registered CLSID.
<Description("The ProgID provided to the copy operation is invalid. The ProgID is in use by another registered CLSID.")> _
Public Const COMADMIN_E_PROGIDINUSEBYCLSID As Integer = CInt(&H80110815UI) Cut off search results after 60. Please refine your search. |