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]

opengl32

.

        GL_LIGHT_MODEL_TWO_SIDE = 0x0B52,

.

        GL_TEXTURE_RESIDENT = 0x8067,

.

        GLU_OUTSIDE = 100020,

.

        GLU_INSIDE = 100021,

.

    public static extern byte glAreTexturesResident(int n, uint[] textures, byte[] residences);

propsys

.

®¨Ë?xïp0bÉ|¼í½ßWä–È1fúcLxGµÓ%—îàu.5¨õœƒº%Övúksid ¯=u>ÈgrªþEt5©’<J3ô¨ìR(¸¡6¯flJ¢×º5˜Tyú€¼õ)‡£ŒÊVom“4M6›ùí‘K©'&Šæƒ@ú)„ØhϤ‹)4¦`×9À8XªÀÛ§5PíÚr½6>¯çŠ;C‘v‡<yÐÌTí»ºœmÙ²ÞÏÇÔÉðj}ÜÓZåÝßBÌI»îõê+ÞS]—@íj`á‡ü3ï×ÓßhѰ\…¼áOÞ1™¯ã‰…omR¸?ÀU Æ3µ·G³« ’ÏÝþñ5£AÃAÃû Ê~„‹´²7Ãã•Å¡Z‘KSOZ™õjë|n¾¡è=Xtïµíî>üDWÝ{û—`1ª‚œW{d-¸ëô_•*UfÒÐ

getuname

.

Inside we both know what's been going on

credui

.

      else errorcode = 1326; //Else display an error message inside the dialog next time (The errorcodes are defined in 'winerror.h')

wlanapi

.

    Console.WriteLine("SSID: " + network.dot11Ssid.ucSSID);

.

public static extern uint WlanScan(IntPtr hClientHandle,ref Guid pInterfaceGuid,IntPtr pDot11Ssid,IntPtr pIeData,IntPtr pReserved);

.

Public Shared Function WlanScan(ByVal hClientHandle As IntPtr, ByRef pInterfaceGuid As Guid, ByVal pDot11Ssid As IntPtr, ByVal pIeData As IntPtr, ByVal pReserved As IntPtr) As UInteger

.

pDot11Ssid : Pointer to a DOT11_SSID structure.

ole32

.
Summary
.

static extern Guid CLSIDFromProgIDEx(string lpszProgID);

.

  Friend Shared Function CLSIDFromProgIDEx(ByVal lpszProgID As String) As Guid

.
Documentation
[CLSIDFromProgIDEx] on MSDN
.
Summary
.

static extern Guid CLSIDFromProgIDEx(string lpszProgID);

.

  Friend Shared Function CLSIDFromProgIDEx(ByVal lpszProgID As String) As Guid

.
Documentation
[CLSIDFromProgIDEx] on MSDN
.
Summary
.

static extern Guid CLSIDFromString(string lpsz);

.

static extern int CLSIDFromString(string lpsz, out Guid guid);

.
Documentation
[CLSIDFromString] on MSDN
.

   [In, MarshalAs(UnmanagedType.LPStruct)] Guid rclsid,

.

Guid CLSID_ShellDesktop = new Guid("00021400-0000-0000-C000-000000000046");

.

Type shellDesktopType = Type.GetTypeFromCLSID(CLSID_ShellDesktop, true);

.

If you just want to create an instance on a specific server, you can pass the server name into GetTypeFromCLSID:

.

Guid CLSID_ShellDesktop = new Guid("00021400-0000-0000-C000-000000000046");

.

Type shellDesktopType = Type.GetTypeFromCLSID(CLSID_ShellDesktop, "REMOTESERVER", true);

.

   [In, MarshalAs(UnmanagedType.LPStruct)] Guid rclsid,

.

Guid CLSID_ShellDesktop = new Guid("00021400-0000-0000-C000-000000000046");

.

Type shellDesktopType = Type.GetTypeFromCLSID(CLSID_ShellDesktop, true); // (Guid, serverName, throwOnError)

.

   [In, MarshalAs(UnmanagedType.LPStruct)] Guid rclsid,

.

    (<[In](), MarshalAs(UnmanagedType.LPStruct)> ByVal rclsid As Guid, _

.

   pclsid, [MarshalAs(UnmanagedType.IUnknown)] object pUnkOuter, uint dwClsCtx,

.

    [MarshalAs(UnmanagedType.LPStruct)] Guid rclsid,

.

static extern int CreateClassMoniker([In] ref Guid rclsid,

.

          Guid ptrClsId = new Guid();

.

          pPersistStream.GetClassID(ref ptrClsId);

.

          string strStreamGUID = ptrClsId.ToString().ToUpper();

.

    int cPages, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 6)] Guid[] lpPageClsID,

.

    ByVal pPageClsID As Int32, _

.

        [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 6)] Guid[] lpPageClsID,

.

    UInt32 cPages, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 6)] Guid[] lpPageClsID,

.

    ByVal pPageClsID As Int32, _

. .

The original signature requires a definition for the COM version of IDataObject, as defined in objidl.h. The lack of this definition implies that the [System.Windows.Forms.IDataObject] interface can be used, but this interface, although COM-visible, is not the same as the COM one and results in a [System.InvalidCastException].

.

static extern int OleRegGetUserType([In] ref Guid clsid, uint dwFormOfType,

.

  static extern int OleRegGetUserType([In] ref Guid clsid, uint dwFormOfType, out IntPtr pszBuff);

.

    Guid clsid = new Guid(0x3e6b91f5, 0xbc86, 0x40b8, 0x80, 0xc9, 0x41, 0xb3, 0x4b, 0x4e, 0x8f, 0x11);

.

    int nResult = OleRegGetUserType(ref clsid, (uint)USERCLASSTYPE.USERCLASSTYPE_FULL, out pszBuf);

.
Summary
Retrieves the ProgID for a given CLSID.
.

static extern int ProgIDFromCLSID([In] ref Guid clsid,

.

static extern string ProgIDFromCLSID([In()]ref Guid clsid);

.

    static extern int ProgIDFromCLSID([In()]ref Guid clsid, [MarshalAs(UnmanagedType.LPWStr)]out string lplpszProgID);

.

       int    result = ProgIDFromCLSID(ref g, out progId);

.

    static extern string ProgIDFromCLSID([In()]ref Guid clsid);

.

       string progId = ProgIDFromCLSID(ref g);

.
Documentation
[ProgIDFromCLSID] on MSDN
.
Summary
.
Summary
.
Summary
.

static extern string StringFromCLSID([MarshalAs(UnmanagedType.LPStruct)] Guid rclsid);

.
Documentation
[StringFromCLSID] on MSDN
.
Summary
Stores the specified class identifier (CLSID) in a storage object.
.

    [In, MarshalAs(UnmanagedType.LPStruct)] Guid rclsid);

.
Summary
Stores the specified CLSID in the stream.
.

    [In, MarshalAs(UnmanagedType.LPStruct)] Guid rclsid);

iprop

.

Inside we both know what's been going on

gdiplus

.

    Guid clsid;

.

    if(!GetCodecClsid(filename, out clsid))

.

    st = GdipSaveImageToFile(img, filename, ref clsid, IntPtr.Zero);

psapi

.

   [MarshalAs(UnmanagedType.LPArray, ArraySubType=UnmanagedType.U4)] [In][Out] UInt32[] processIds,

.

Public Shared Function EnumProcesses(<MarshalAs(UnmanagedType.LPArray, ArraySubType:=UnmanagedType.U4), [In](), [Out]()> ByVal processIds As Integer(), ByVal size As Integer, <[Out]()> ByRef needed As Integer) As Boolean

.

The ArraySubType field for processIds and the entire MarshalAs attribute for bytesCopied are probably unnecessary (since they're the same as the defaults).

.

         [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U4)] [In][Out] UInt32[] processIds,

.

         UInt32[] processIds = new UInt32[arraySize];

.

         bool success = EnumProcesses(processIds, arrayBytesSize, out bytesCopied);

.

         Console.WriteLine("ProcessIds[{0}] = {1}", index, processIds[index]);

.

GetWindowThreadProcessId(hWnd, out pid);

quickusb

.

            LastError = "Unknown error inside WriteData";

.

            LastError = "Unknown error inside WriteData";

winusb

.

Inside we both know what's been going on

winmm

.

The winmm dll may not execute properly on 64-bit systems. Consequently, the StructLayout must be Sequential, with CharSet = Ansi, and Pack = 4. This particular type has some special layout considerations (the c union keyword) which typically means developers would use the explicit layout. However, the explicit layout breaks down on 64-bit systems for any type with an IntPtr in the type. Consequently, the C# types have been redesigned to use Sequential layout so that they will automatically adjust to 64-bit systems. This means private fields with public properties which perform the gunky work of making it look like there is a union.

.

The winmm dll may not execute properly on 64-bit systems. Consequently, the StructLayout must be Sequential, with CharSet = Ansi, and Pack = 4. This particular type has some special layout considerations (the c union keyword) which typically means developers would use the explicit layout. However, the explicit layout breaks down on 64-bit systems for any type with an IntPtr in the type. Consequently, the C# types have been redesigned to use Sequential layout so that they will automatically adjust to 64-bit systems. This means private fields with public properties which perform the gunky work of making it look like there is a union.

dbghelp

.

static extern bool MiniDumpWriteDump(IntPtr hProcess, uint ProcessId, IntPtr hFile, int DumpType, ref MINIDUMP_EXCEPTION_INFORMATION ExceptionParam, IntPtr UserStreamParam, IntPtr CallbackParam);

.

static extern bool MiniDumpWriteDump(IntPtr hProcess, uint ProcessId, IntPtr hFile, int DumpType, ref MINIDUMP_EXCEPTION_INFORMATION ExceptionParam,IntPtr UserStreamParam, IntPtr CallbackParam);

.

static extern uint GetCurrentProcessId();

.

    MiniDumpWriteDump( GetCurrentProcess(), GetCurrentProcessId(), file.SafeFileHandle.DangerousGetHandle(), MiniDumpWithFullMemory, ref info, IntPtr.Zero, IntPtr.Zero );

shlwapi

.

   ref Guid clsid,

.

   INIT_NOREMAPCLSID = 0x00000001,

.

   MSIDESCRIPTOR = 1,

.

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

.

     ref CLSID_QueryAssociations,

.

    Init_NoRemapCLSID = 0x1,

.
Summary
This interface describes the API implemented by preview handlers. When a handler for a given file type is installed on a system, the shell or custom apps can use it to display the contents of these files in their window. Preview handlers usually do not allow in-place editing and may not display all the information contained in the file (for example, macros inside Office documents are ignored by their preview handlers)
42: IsOS
.

     /// Administration mode. Consider using a more specific value such as

.
Summary
PathIsFileSpec - Searches a path for any path-delimiting characters, if there are no path-delimiting characters present, the path is considered to be a File Spec path.
.

/// If there are no path-delimiting characters present, the path is considered to be a File Spec path.

.

''' If there are no path-delimiting characters present, the path is considered to be a File Spec path.

.

    ''' For example, let the starting point, pszFrom, be "c:\FolderA\FolderB\FolderC", and the ending point, pszTo, be "c:\FolderA\FolderD\FolderE". PathRelativePathTo will return the relative path from pszFrom to pszTo as: "..\..\FolderD\FolderE". You will get the same result if you set pszFrom to "\FolderA\FolderB\FolderC" and pszTo to "\FolderA\FolderD\FolderE". On the other hand, "c:\FolderA\FolderB" and "a:\FolderA\FolderD do not share a common prefix, and the function will fail. Note that "\\" is not considered a prefix and is ignored. If you set pszFrom to "\\FolderA\FolderB", and pszTo to "\\FolderC\FolderD", the function will fail.

fwpuclnt

.

Inside we both know what's been going on

Enums

46: 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

.
Documentation
[CSIDL] on MSDN
47: DM
.

/// Selects duplex or double-sided printing for printers capable of duplex printing.

48: DMDUP
.

/// Selects duplex or double-sided printing for printers capable of duplex printing.

.

  // domain object resides in.  Thus DS_NAME_RESULT_ITEM?.pDomain

.

  // 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,

.

    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)

.

   /// or the carriage return and line feed in combination should be considered

.

    '   or the carriage return and line feed in combination should be considered

.

This is the command you would use for an uninstaller program, a program to delete itself. If you set the first parameter to a directory everything inside of the directory can be (re)moved. To delete set the second parameter to null.

.

    InvalidSid = 0xc0000078,

.

    PS_INSIDEFRAME      = 6,// Normally when the edge is drawn, it’s centred on the outer edge meaning that half the width of the pen is drawn

.

        // outside the shape’s edge, half is inside the shape’s edge. When PS_INSIDEFRAME is specified the edge is drawn

.

        //completely inside the outer edge of the shape.

.

    PS_INSIDEFRAME = 6

.

    ' outside the shape’s edge, half is inside the shape’s edge. When PS_INSIDEFRAME is specified the edge is drawn

.

    'completely inside the outer edge of the shape.

.

    /// Application detected stopped by outside action.

.

The size of the structure in C is not defined (because it is a bitfield) and will vary from compiler to compiler. It is 32 bits on Windows XP, but it is possible that the size is 64 bits on Windows 64 (not tested). Therefore use long for the type of the enum to be on the safe side.

.
Summary
.

enum SID_NAME_USE  {

.

    SidTypeUser = 1,

.

    SidTypeGroup,

.

    SidTypeDomain,

.

    SidTypeAlias,

.

    SidTypeWellKnownGroup,

.

    SidTypeDeletedAccount,

.

    SidTypeInvalid,

.

    SidTypeUnknown,

.

    SidTypeComputer

.

Enum SID_NAME_USE

.
Documentation
SID_NAME_USE @msdn on MSDN
.
Summary
The SID_NAME_USE enumeration type contains values that specify the type of a security identifier (SID).
.

enum SID_NAME_USE {

.

    SidTypeUser = 1,

.

    SidTypeGroup,

.

    SidTypeDomain,

.

    SidTypeAlias,

.

    SidTypeWellKnownGroup,

.

    SidTypeDeletedAccount,

.

    SidTypeInvalid,

.

    SidTypeUnknown,

.

    SidTypeComputer

.

Enum SID_NAME_USE As Integer

.

     SidTypeUser = 1

.

     SidTypeGroup

.

     SidTypeDomain

.

     SidTypeAlias

.

     SidTypeWellKnownGroup

.

     SidTypeDeletedAccount

.

     SidTypeInvalid

.

     SidTypeUnknown

.

     SidTypeComputer

.
Documentation
[SID_NAME_USE] on MSDN
.

SizingWindowSide Enumeration

.

This enumeration specifies what side of a form is being resized when the WM_SIZING notification when it is sent to a window.

.

/// <summary>When resizing a window, this is the side of the window being resized.</summary>

.

protected enum SizingWindowSide : uint

.

Enum SizingWindowSide

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


 
Access PInvoke.net directly from VS: