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 "Close" in [All]

hhctrl

.

        HH_CLOSE_ALL = 0x0012

.

     HH_CLOSE_ALL = &H12

setupapi

.

        PNP_VetoPendingClose = 2,

.

Private Declare Sub CloseHandle Lib “kernel32″ _

.

(ByVal HandleToClose As Long)

.

CloseHandle DeviceHandle

.
Summary
closes the INF file opened by a call to SetupOpenInfFile. This function closes any INF files appended to it by calling SetupOpenAppendInfFile.
.

public static extern void SetupCloseInfFile(IntPtr InfHandle);

.

Public Declare Auto Sub SetupCloseInfFile Lib "setupapi.dll" (ByVal InfHandle As IntPtr)

.
InfHandle Handle to the INF file to be closed.
.

     SetupCloseInfFile(infHandle);

.

    SetupCloseInfFile(infHandle)

.
Documentation
[SetupCloseInfFile] on MSDN
.

     SetupCloseInfFile(infHandle);

.

    SetupCloseInfFile(infHandle)

.

     SetupCloseInfFile(infHandle);

.

    SetupCloseInfFile(infHandle)

.

     SetupCloseInfFile(infHandle);

.

    SetupCloseInfFile(infHandle)

.

     SetupCloseInfFile(infHandle);

.

    SetupCloseInfFile(infHandle)

.

     SetupCloseInfFile(infHandle);

.

    SetupCloseInfFile(infHandle)

gdi32

.
Summary
Closes and discards any paths in the specified device context.
.
Summary
Closes an enhanced-metafile device context and returns a handle that identifies an enhanced-format metafile.
.

static extern IntPtr CloseEnhMetaFile(IntPtr hdc);

.

Declare Function CloseEnhMetaFile Lib "gdi32.dll" _

.
Documentation
[CloseEnhMetaFile] on MSDN
.
Summary
Closes the current figure and starts a new figure.
.

static extern bool CloseFigure(IntPtr hdc);

.
Documentation
[CloseFigure] on MSDN
.
Summary
Closes a metafile device context and returns a handle that identifies a Windows-format metafile.
.

static extern IntPtr CloseMetaFile(IntPtr hdc);

.
Documentation
[CloseMetaFile] on MSDN
.

        br.Close();

Enums

.

    /// <summary>Disables Close on the window menu.</summary>

.

    NoClose = 0x200,

.

    ''' <summary>Disables Close on the window menu.</summary>

.

    NoClose = &H200

.

     IDCLOSE = 7,

.

    IDCLOSE = 7

.

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

.

    ///Unable to close a serialization handle or a file handle.

.

    [Description("Unable to close a serialization handle or a file handle.")]

.

    public const int CO_E_FAILEDTOCLOSEHANDLE = unchecked((int)0x80010138);

.

    ///CloseClipboard Failed

.

    [Description("CloseClipboard Failed")]

.

    public const int CLIPBRD_E_CANT_CLOSE = unchecked((int)0x800401D4);

.

    ///XACT_E_TRANSACTIONCLOSED

.

    [Description("XACT_E_TRANSACTIONCLOSED")]

.

    public const int XACT_E_TRANSACTIONCLOSED = unchecked((int)0x8004D083);

.

    ///Final closure is pending until additional frees or closes.

.

    [Description("Final closure is pending until additional frees or closes.")]

.

    public const int CRYPT_E_PENDING_CLOSE = unchecked((int)0x8009200F);

.

    public const int OSS_CANT_CLOSE_TRACE_FILE = unchecked((int)0x8009302E);

.

    '''Unable to close a serialization handle or a file handle.

.

    <Description("Unable to close a serialization handle or a file handle.")> _

.

    Public Const CO_E_FAILEDTOCLOSEHANDLE As Integer = CInt(&H80010138UI)

.

    '''CloseClipboard Failed

.

    <Description("CloseClipboard Failed")> _

.

    Public Const CLIPBRD_E_CANT_CLOSE As Integer = CInt(&H800401d4UI)

.

    '''XACT_E_TRANSACTIONCLOSED

.

    <Description("XACT_E_TRANSACTIONCLOSED")> _

.

    Public Const XACT_E_TRANSACTIONCLOSED As Integer = CInt(&H8004d083UI)

.

    '''Final closure is pending until additional frees or closes.

.

    <Description("Final closure is pending until additional frees or closes.")> _

.

    Public Const CRYPT_E_PENDING_CLOSE As Integer = CInt(&H8009200fUI)

.

    Public Const OSS_CANT_CLOSE_TRACE_FILE As Integer = CInt(&H8009302eUI)

.

    Close=8,

.

     Close

.

     Close      As Long = 8

.

    MIB_TCP_STATE_CLOSED = 1,

.

    MIB_TCP_STATE_CLOSE_WAIT = 8,

.

    MIB_TCP_STATE_CLOSED = 1

.

    MIB_TCP_STATE_CLOSE_WAIT = 8

.

    HandlesClosed = 0x8000000a,

.

    FileForcedClosed = 0xc00000b6,

.

    FileClosed = 0xc0000128,

.

    PortClosed = 0xc0000700,

.

    OLECMDID_CLOSE             = 45,

.

    OLECMDID_CLOSE = 45

.

    OF_EXIST     = 0x00004000,  // Opens a file and then closes it. Used to test that a file exists

.

        /// <summary>628. The connection was closed. </summary>

.

        /// <summary>629. The connection was closed by the remote computer. </summary>

.

     SC_CLOSE    = 0xF060,

.

      '''<summary>Closes the window.</summary>

.

      SC_CLOSE = &HF060

.

        /// The width of menu bar buttons, such as the child window close button that is used in the multiple document interface, in pixels.

.

        /// The height of menu bar buttons, such as the child window close button that is used in the multiple document interface, in pixels.

.

    ''' Width of menu bar buttons such as the child window close button used in the multiple document interface in pixels.

.

    ''' Height of menu bar buttons such as the child window close button used in the multiple document interface in pixels.

.

    ' // UNDEFINED //       ' // [OemCloseBrackets] = 221   ' "]}" for USA

.

    /// The WM_CLOSE message is sent as a signal that a window or an application should terminate.

.

    CLOSE = 0x0010,

.

    /// A window receives this message when the user chooses a command from the Window menu, clicks the maximize button, minimize button, restore button, close button, or moves the form. You can stop the form from moving by filtering this out.

.

    /// An application sends the WM_MDIDESTROY message to a multiple-document interface (MDI) client window to close an MDI child window.

.

    /// The WM_CPL_LAUNCHED message is sent when a Control Panel application, started by the WM_CPL_LAUNCH message, has closed. The WM_CPL_LAUNCHED message is sent to the window identified by the wParam parameter of the WM_CPL_LAUNCH message that started the application.

.

    '''The WM_CLOSE message is sent as a signal that a window or an application should terminate.

.

    WM_CLOSE = &H10

.

    '''An application sends the WM_MDIDESTROY message to a multiple-document interface (MDI) client window to close an MDI child window.

.

    '''A window receives this message when the user chooses a command from the Window menu (formerly known as the system or control menu) or when the user chooses the maximize button minimize button restore button or close button.

.

    ''' minimize button, restore button, or close button.

.

    WmClose = &H10

.

    ''' close an MDI child window.

.

        public const Int32 WM_CLOSE = 0xF060;

.

                    case WM_CLOSE:

.

                        MessageBox.Show("Can't Close");

.

    /// The system does not bring this window to the foreground when the user minimizes or closes the foreground window.

.

    ''' The system does not bring this window to the foreground when the user minimizes or closes the foreground window.

.

    /// The system does not bring this window to the foreground when the user minimizes or closes the foreground window.

.

    ''' The system does not bring this window to the foreground when the user minimizes or closes the foreground window.

gdiplus

.

static extern int GdipAddPathClosedCurveI(HandleRef path, HandleRef memorypts,

.

Declare Function GdipAddPathClosedCurveI Lib "gdiplus.dll" (TODO) As TODO

.
Documentation
[GdipAddPathClosedCurveI] on MSDN
.

static extern int GdipAddPathClosedCurve2I(HandleRef path, HandleRef memorypts,

.

Declare Function GdipAddPathClosedCurve2I Lib "gdiplus.dll" (TODO) As TODO

.
Documentation
[GdipAddPathClosedCurve2I] on MSDN
.

static extern int GdipClosePathFigures(HandleRef path);

.

Declare Function GdipClosePathFigures Lib "gdiplus.dll" (TODO) As TODO

.
Documentation
[GdipClosePathFigures] on MSDN

mpr

.

WNetCloseEnum

.

public static extern uint WNetCloseEnum(IntPtr hEnum);

.

Private Shared Function WNetCloseEnum(hEnum As IntPtr) As UInteger

.
Documentation
[WNetCloseEnum] on MSDN
.

  public static extern int WNetCloseEnum( IntPtr hEnum );

.

       iRet =WNetCloseEnum( ptrHandle );

.

    Public Function WNetCloseEnum(ByVal hEnum As IntPtr) As Integer

.

        iRet = WNetCloseEnum(ptrHandle)

.

        iRet = WNetCloseEnum(ptrHandle)

.

        iRet = WNetCloseEnum(ptrHandle)

advapi32

.

             NativeMethods.CloseHandle(tokenHandle);

.

      internal static extern Boolean CloseHandle(IntPtr hObject);

.

    Private Function CloseHandle(ByVal hHandle As IntPtr) As Boolean

.

            CloseHandle(hToken)

.

    static extern bool CloseEventLog(IntPtr hEventLog);

.

           CloseEventLog(logHandle);

.

        // Make sure to close open handles

.

        CloseServiceHandle(svcHandle);

.

        CloseServiceHandle(scHandle);

.

        // Make sure to close open handles

.

        CloseServiceHandle(svcHandle);

.

        CloseServiceHandle(scHandle);

.

        // Ensure any open handle is closed.

.

            NativeMethods.CloseEventLog(hEventLog);

.
Summary
Closes a read handle to the specified event log.
.

static extern bool CloseEventLog(IntPtr hEventLog);

.

Declare Function CloseEventLog Lib "advapi32.dll" (TODO) As TODO

.
Documentation
[CloseEventLog] on MSDN
.
Summary
The CloseServiceHandle function closes a handle to a service control manager or service object.
.

public static extern bool CloseServiceHandle( IntPtr hSCObject );

.

    Private Shared Function CloseServiceHandle(ByVal serviceHandle As IntPtr) As Boolean

.

    Declare Function CloseServiceHandle Lib "advapi32.dll" (ByVal hSCObject As IntPtr) As Boolean

.

Handles returned from CreateService must be closed using this function, rather than the standard CloseHandle

.
Documentation
.

         Interop.CloseServiceHandle (serviceHandle);

.

         Interop.CloseServiceHandle (serviceControlManagerHandle);

.

     internal static extern bool CloseServiceHandle (IntPtr hSCObject);

.

    Public Function CloseHandle(ByVal handle As IntPtr) As Boolean

.

    CloseHandle(processInfo.process)

.

    CloseHandle(processInfo.thread)

.

        public static extern bool CloseHandle(IntPtr handle);

.

            CloseHandle(processInfo.process);

.

            CloseHandle(processInfo.thread);

.

    CloseServiceHandle(serviceHandle)

.

    CloseHandle(scHandle)

.

        #region CloseServiceHandle

.

        static extern bool CloseServiceHandle( IntPtr hSCObject );

.

                    CloseServiceHandle( schSCManager );

.

                    // if you don't close this handle, Services control panel

.

                    CloseServiceHandle( schService );

.

             CloseServiceHandle( hService );

.

     CloseServiceHandle( handle );

.

           CloseServiceHandle(handle);

.

        fileStream.Close();

.

        CloseHandle(lngTokenHandle)

.

    bool bForceAppsClosed,

.

     <MarshalAs(UnmanagedType.Bool)> ByVal bForceAppsClosed As Boolean, _

.

    bool bForceAppsClosed,

.

     <MarshalAs(UnmanagedType.Bool)> ByVal bForceAppsClosed As Boolean, _

.

        LsaClose(Policy)

.

    LsaClose(Policy)

.
Summary
The LsaClose function closes a handle to a Policy or TrustedDomain object.
.

static extern uint LsaClose(IntPtr ObjectHandle);

.

Declare Unicode Function LsaClose Lib "advapi32.dll" (ByVal ObjectHandle As IntPtr) As Int32

.
Documentation
[LsaClose] on MSDN
.

    internal static extern int LsaClose(IntPtr PolicyHandle);

.

        Win32Sec.LsaClose(lsaHandle);

.

        LsaClose(Policy)

.

    LsaClose(Policy)

.

    internal static extern int LsaClose(IntPtr PolicyHandle);

.

        Win32Sec.LsaClose(lsaHandle);

.

When done with the handle, call LsaClose

.

            LsaClose( aPolicyHandle );

.

                LsaClose(policy);

.

        private static extern long LsaClose(IntPtr ObjectHandle);

.

        LsaClose(Policy)

.

    LsaClose(Policy)

.

        LsaClose(Policy)

.

    LsaClose(Policy)

.

    private static extern uint LsaClose(

.

        uint ntsResult = LsaClose(LsaPolicyHandle);

.

        throw new Exception("LsaClose failed: " + winErrorCode);

.

    CloseEventLog(logHandle);

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


 
Access PInvoke.net directly from VS: