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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "delete" in [All]

urlmon

.

     Marshal.FreeCoTaskMem(outPtr); //msdn docs wrongly states that operator 'delete' must be used. Do not remove FreeCoTaskMem

Enums

.

    DELETE = 0x00010000,

.

    DELETE = &H10000

.

    /// dialog box, reordering, shortcut menus, new folders, delete, and other shortcut menu commands.

.

    ''' dialog box, reordering, shortcut menus, new folders, delete, and other shortcut menu commands.

.

Use the template below then delete this header:

.

    Undeleteable = 0x0010,

.
Summary
.

/// KeyType values for SetupDiCreateDevRegKey, SetupDiOpenDevRegKey, and SetupDiDeleteDevRegKey.

.

    /// Open/Create/Delete device key

.

    /// Open/Create/Delete driver key

.

    /// Delete both driver and Device key

.

     /// A file that is read-only. Applications can read the file, but cannot write to it or delete it. This attribute is not honored on directories. For more information, see "You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, or in Windows Vista".

.

     /// A file that is being used for temporary storage. File systems avoid writing data back to mass storage if sufficient cache memory is available, because typically, an application deletes a temporary file after the handle is closed. In that scenario, the system can entirely avoid writing the data. Otherwise, the data is written after the handle is closed.

.

    ''' A file that is read-only. Applications can read the file, but cannot write to it or delete it. This attribute is not honored on directories. For more information, see "You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, or in Windows Vista".

.

    ''' A file that is being used for temporary storage. File systems avoid writing data back to mass storage if sufficient cache memory is available, because typically, an application deletes a temporary file after the handle is closed. In that scenario, the system can entirely avoid writing the data. Otherwise, the data is written after the handle is closed.

.

     FO_DELETE = 0x3,

.

     FO_DELETE As Long = &H3

.

    FO_DELETE = &H3

.

    /// During delete operation,

.

    ''' During delete operation,

.

    FO_DELETE = 0x0003,

.

    KeyboardDelete = 0x2A,

.

    KeyboardDelete = &H2a

.

    ///Cannot modify or delete an object that was not added using the COM+ Admin SDK

.

    [Description("Cannot modify or delete an object that was not added using the COM+ Admin SDK")]

.

    public const int EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT = unchecked((int)0x8004020D);

.

    ///Cannot modify or delete an object that was added using the COM+ Admin SDK

.

    [Description("Cannot modify or delete an object that was added using the COM+ Admin SDK")]

.

    public const int EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT = unchecked((int)0x8004020E);

.

    ///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.")]

.

    public const int SEC_E_UNFINISHED_CONTEXT_DELETED = unchecked((int)0x80090333);

.

    ///The previous certificate or CRL context was deleted.

.

    [Description("The previous certificate or CRL context was deleted.")]

.

    public const int CRYPT_E_DELETED_PREV = unchecked((int)0x80092008);

.

    ///The delete function has been disabled for this object

.

    [Description("The delete function has been disabled for this object")]

.

    public const int COMADMIN_E_NOTDELETEABLE = unchecked((int)0x8011042B);

.

    ///The partition cannot be deleted because it is the default partition for one or more users

.

    [Description("The partition cannot be deleted because it is the default partition for one or more users")]

.

    '''Cannot modify or delete an object that was not added using the COM+ Admin SDK

.

    <Description("Cannot modify or delete an object that was not added using the COM+ Admin SDK")> _

.

    Public Const EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT As Integer = CInt(&H8004020dUI)

.

    '''Cannot modify or delete an object that was added using the COM+ Admin SDK

.

    <Description("Cannot modify or delete an object that was added using the COM+ Admin SDK")> _

.

    Public Const EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT As Integer = CInt(&H8004020eUI)

.

    '''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.")> _

.

    Public Const SEC_E_UNFINISHED_CONTEXT_DELETED As Integer = CInt(&H80090333UI)

.

    '''The previous certificate or CRL context was deleted.

.

    <Description("The previous certificate or CRL context was deleted.")> _

.

    Public Const CRYPT_E_DELETED_PREV As Integer = CInt(&H80092008UI)

.

    '''The delete function has been disabled for this object

.

    <Description("The delete function has been disabled for this object")> _

.

    Public Const COMADMIN_E_NOTDELETEABLE As Integer = CInt(&H8011042bUI)

.

    '''The partition cannot be deleted because it is the default partition for one or more users

.

    <Description("The partition cannot be deleted because it is the default partition for one or more users")> _

.

   Delete = 5

.

   Delete = 5

14: LB_
.

    /// Deletes a string in a list box.

.

    LB_DELETESTRING = 0x0182,

.

    ' Deletes a string in a list box.    

.

    LB_DELETESTRING = &H182

.

            DELETEITEM               = (FIRST + 8),

.

            DELETEALLITEMS           = (FIRST + 9),

.

            DELETECOLUMN             = (FIRST + 28),

.

    MIB_TCP_STATE_DELETE_TCB = 12

.

    MIB_TCP_STATE_DELETE_TCB = 12

.

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.

.

    UnableToDeleteSection = 0xc000001b,

.

    DeletePending = 0xc0000056,

.

    CannotDelete = 0xc0000121,

.

    FileDeleted = 0xc0000123,

.

    VirusDeleted = 0xc0000907,

.

    /// such objects are deleted when all open handles to them are closed. If this flag is specified, the

.

    /// object is not deleted when all open handles are closed. Drivers can use the ZwMakeTemporaryObject

.

    OLECMDID_DELETE             = 33,

.

    OLECMDID_DELETE = 33

.

    OF_DELETE    = 0x00000200,  // Deletes a file.

.

   /// If set, jobs are kept after they are printed. If unset, jobs are deleted.

.

    /// Required to delete the object.

.

    Delete = 0x00010000,

.

        /// <summary>817. Cannot delete a connection while it is connected. </summary>

.

        ERROR_CANNOT_DELETE,

25: SFGAOF
.

        SFGAO_CANDELETE     = 0x00000020,         // Objects can be deleted

.

    SHCNE_DELETE          = 0x00000004L,

.

    SHCNE_DELETE = &H4L

27: SHCNE
.

    SHCNE_DELETE          = 0x00000004,

.

    SHCNE_DELETE = 4

.

    /// <summary>A UI item, such as a button, that issues a delete command.</summary>

.

    SIID_DELETE = 84,

.

    SIID_DELETE = 84

.

    DELETE = 84

.

    SidTypeDeletedAccount,

.

    SidTypeDeletedAccount,

.

     SidTypeDeletedAccount

31: STGM
.

    STGM_DELETEONRELEASE = 0x4000000

.

        // Delete On Release

.

        STGM_DELETEONRELEASE = 0x04000000,

.

     STRETCH_DELETESCANS = 3,

.

     STRETCH_DELETESCANS = 3

.

        Delete = 0x2E,

.

    VK_DELETE = &H2E        ' // [Delete] = 046

35: VK
.

        DELETE = 0x2E,

.

    DELETE = 46

.

     /// WER should delete this file after the report is sent

.

     WER_FILE_DELETE_WHEN_DONE = 1,

.

    /// Sent to the owner of a list box or combo box when the list box or combo box is destroyed or when items are removed by the LB_DELETESTRING, LB_RESETCONTENT, CB_DELETESTRING, or CB_RESETCONTENT message. The system sends a WM_DELETEITEM message for each deleted item. The system sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data.

.

    DELETEITEM = 0x002D,

.

    /// An application sends a WM_CUT message to an edit control or combo box to delete (cut) the current selection, if any, in the edit control and copy the deleted text to the clipboard in CF_TEXT format.

.

    /// An application sends a WM_CLEAR message to an edit control or combo box to delete (clear) the current selection, if any, from the edit control.

.

    /// An application sends a WM_UNDO message to an edit control to undo the last operation. When this message is sent to an edit control, the previously deleted text is restored or the previously added text is deleted.

.

    '''An application sends a WM_CLEAR message to an edit control or combo box to delete (clear) the current selection if any from the edit control.

.

    '''An application sends a WM_CUT message to an edit control or combo box to delete (cut) the current selection if any in the edit control and copy the deleted text to the clipboard in CF_TEXT format.

.

    '''Sent to the owner of a list box or combo box when the list box or combo box is destroyed or when items are removed by the LB_DELETESTRING LB_RESETCONTENT CB_DELETESTRING or CB_RESETCONTENT message. The system sends a WM_DELETEITEM message for each deleted item. The system sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data.

.

    WM_DELETEITEM = &H2D

.

    '''An application sends a WM_UNDO message to an edit control to undo the last operation. When this message is sent to an edit control the previously deleted text is restored or the previously added text is deleted.

.

    ''' When this message is sent to an edit control the previously deleted text is restored or the

.

    ''' previously added text is deleted.

.

    ''' An application sends this message to an edit control or combo box to delete (cut) the

.

    ''' current selection if any in the edit control and copy the deleted text to the clipboard in <c>CF_TEXT</c> format.

.

    ''' An application sends the message to an edit control or combo box to delete (clear) the

ole32

.

    /// <param name="fDeleteOnRelease">A flag that specifies whether the underlying handle

.

    public extern static int CreateILockBytesOnHGlobal(IntPtr hGlobal, [MarshalAs(UnmanagedType.Bool)] bool fDeleteOnRelease, out ILockBytes ppLkbyt);

.

static extern int CreateILockBytesOnHGlobal(IntPtr /* HGLOBAL */ hGlobal, bool fDeleteOnRelease, [MarshalAs(UnmanagedType.Interface)]out object /* ILockBytes** */ ppLkbyt);

.

                              ByVal fDeleteOnRelease As Boolean, _

.

static extern int CreateStreamOnHGlobal(IntPtr hGlobal, bool fDeleteOnRelease,

.

    Declare Function CreateStreamOnHGlobal Lib "ole32" (ByVal hGlobal As IntPtr, ByVal fDeleteOnRelease As Boolean, ByRef ppstm As UCOMIStream) As Long

.

    extern public static int CreateStreamOnHGlobal(IntPtr ptr, bool delete, out System.Runtime.InteropServices.ComTypes.IStream pOutStm);

.

    extern public static int CreateStreamOnHGlobal(IntPtr ptr, bool delete, out System.Runtime.InteropServices.ComTypes.IStream pOutStm);

.

    extern public static int CreateStreamOnHGlobal(IntPtr ptr, bool delete, out System.Runtime.InteropServices.ComTypes.IStream pOutStm);

42: STGM
.

    DELETEONRELEASE    = 0x04000000,

.

    DELETEONRELEASE    = 67108864

setupapi

.

            SP_COPY_DELETESOURCE    = 0x0000001,   // delete source file on successful copy

.

SP_COPY_DELETESOURCE Delete source file on successful copy.

.

      enum SetupUOInfFlags : uint { NONE = 0x0000, SUOI_FORCEDELETE = 0x0001 };

.

       retval = retval&& (SetupUninstallOEMInf(infFileName, SetupUOInfFlags.SUOI_FORCEDELETE, IntPtr.Zero));

secur32

.
Summary
The LsaDeregisterLogonProcess function deletes the caller's logon application context and closes the connection to the LSA server.

comctl32

46: dfgfdf
.

MODERATORS/EDITORS: Please delete this page, it's just wiki-graffiti.

.

To Run the VistaBridge Project in Visual Studio 2008, you must re-create the Application Manifest file. To do this, open the manifest already in the project, copy all of the text from it to notepad and then delete the manifest file from the project. Next, right click on the "VistaBridgeDemoApp" project and select Add New Item. Choose an Application Manifest File and MAKE SURE you name it as follows: VistaBridgeDemoApp.exe.manifest and then press enter. Now double click on the new manifest file, select all the text and replace it with the text that was copied out of the old manifest. You can now Build the solution and the Demo App should now operate properly. If you still have problems, try closing Visual Studio and then Re-opening it.

.

To Run the VistaBridge Project in Visual Studio 2008, you must re-create the Application Manifest file. To do this, open the manifest already in the project, copy all of the text from it to notepad and then delete the manifest file from the project. Next, right click on the "VistaBridgeDemoApp" project and select Add New Item. Choose an Application Manifest File and MAKE SURE you name it as follows: VistaBridgeDemoApp.exe.manifest and then press enter. Now double click on the new manifest file, select all the text and replace it with the text that was copied out of the old manifest. You can now Build the solution and the Demo App should now operate properly. If you still have problems, try closing Visual Studio and then Re-opening it.

ncrypt

.

internal static extern int  NCryptDeleteKey(IntPtr hKey, int dwFlags);

ws2_32

.

        /// Delete an interface list entry.

.

        /// Delete an interface list entry.

opengl32

.

    public static extern void glDeleteLists(uint list, int range);

.

    public static extern void glDeleteTextures(int n, uint[] textures);

.

    public static extern void gluDeleteQuadric(IntPtr state);

.

    public static extern void gluDeleteTess(IntPtr tess);

.

    public static extern void gluDeleteNurbsRenderer(IntPtr nobj);

.

                Gdi.DeleteObject(disposeFontH);

.

                GL.glDeleteLists(FontBase, 256);

Interfaces

53: IADs
.
Summary
The IADsContainer interface enables an ADSI container object to create, delete, and manage contained ADSI objects. Container objects represent hierarchical directory trees, such as in a file system, and to organize the directory hierarchy.
.

         void Delete(

.

         void Delete(

.

        Registry.LocalMachine.CreateSubKey("SOFTWARE\Microsoft\Internet Explorer\Toolbar").DeleteValue(guid, False)

.

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

.

        Registry.LocalMachine.CreateSubKey("SOFTWARE\Microsoft\Internet Explorer\Toolbar").DeleteValue(guid, False)

.

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

.

But in this case the assembly will be loaded into the current AppDomain and it could not be released. So, for instance, if you'll try to delete the assembly file, you'll get IOException, which says, that file is in use.

.

        #region Insert and Delete Table

.

        /// Deletes the selected table

.

        public void DeleteSelectedTable()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.DeleteSelectedTable));

.

        #region Delete columns and rows

.

        /// Deletes the selected columns

.

        public void DeleteSelectedColumns()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.DeleteSelectedColumns));

.

        /// Deletes the selected rows

.

        public void DeleteSelectedRows()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.DeleteSelectedRows));

.

        /// Deletes the selected misspelled word

.

        /// <param name="misspelled">the word to delete</param>

.

        public void DeleteMisspelledWord(string misspelled)

.

                ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.DeleteMisspelledWord, misspelled));

.

     int DeleteType(PST_KEY key, ref Guid pType, uint dwFlags);

.

     int DeleteSubtype(PST_KEY key, ref Guid pType, ref Guid pSubtype, uint dwFlags);

.

     int DeleteItem(PST_KEY key, ref Guid pItemType, ref Guid pItemSubtype, [MarshalAs(UnmanagedType.LPWStr)]string szItemName, IntPtr pPromptInfo, uint dwFlags);

.

    int DeleteTrigger(                      ushort      iTrigger);

.

    TASK_FLAG_DELETE_WHEN_DONE         = 0x2,

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


 
Access PInvoke.net directly from VS: