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]

coredll

.

static extern TODO CeFindCloseRegChange(TODO);

.

Private Shared Function CeFindCloseRegChange(ByVal hChangeHandle As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean

.
Documentation
[CeFindCloseRegChange] on MSDN
.

static extern TODO CloseClipboard(TODO);

.

Declare Function CloseClipboard Lib "coredll.dll" (TODO) As TODO

.

<DllImport("coredll.dll")> Shared Function CloseClipboard() As Boolean

.
Documentation
[CloseClipboard] on MSDN
.
Summary
This function closes an open object handle
.

public static extern bool CloseHandle(HANDLE hObject);

.

Declare Function CloseHandle Lib "coredll.dll" (hObject As IntPtr) As Boolean

.

        public static extern bool CloseHandle(HANDLE hObject);

.

            CloseHandle(p);

.
Documentation
[CloseHandle] on MSDN
.

        public static extern bool CloseHandle(HANDLE hObject);

.

            CloseHandle(p);

.

    Public Shared Function CloseHandle(ByVal handle As IntPtr) As Boolean

.

        Throw New ObjectDisposedException("WaitHandle", "WaitEvent has already been closed or never initialized")

.

    Public Function Close() As Boolean

.

        Throw New ObjectDisposedException("WaitHandle", "WaitEvent has already been closed or never initialized")

.

        WaitHandles.CloseHandle(_handle)

.

            WaitHandles.CloseHandle(Me._handle)

.

        NativeMethods.CloseHandle(file);

.
Relation
OpenClipboard(), CloseClipboard(), SetClipboardData(), EmptyClipboard()
.

        public static extern bool CloseHandle(HANDLE hObject);

.

                CloseHandle(p);

.

    CloseHandle(pi.hProcess);

.

    CloseHandle(pi.hThread);

.

            // close IME(direct input for Alphabet and Number)

.
Summary
.

static extern uint lineClose(IntPtr line);

.
Documentation
[lineClose] on MSDN
.
Summary
Shuts down the applications use of the line TAPI. Automatically closes all open lines and cancels all active requests.
.

Even though this method attempts to close all open lines prior to shutting down, it is recommended that you call lineClose yourself on any open lines prior to calling this.

.
Relation
CloseClipboard(), SetClipboardData(), EmptyClipboard()
.

Use the DuplicateHandle function to duplicate the handle. Use the CloseHandle function to close the handle. The system closes the handle automatically when the process terminates. The event object is destroyed when its last handle has been closed.

.

Use this function together with RasEnumConnections, to return a list of the active connections, then the sample code below will loop through the RASCONN[] array and close each one.

.

public static void CloseAllConnections()

.

public static extern int RegCloseKey(IntPtr hKey);

.
Documentation
[RegCloseKey] on MSDN
.

        public static extern bool CloseHandle(HANDLE hObject);

.

                CloseHandle(p);

.
Relation
OpenClipboard(), CloseClipboard(), EmptyClipboard()
.

    <DllImport("coredll.dll")> Shared Function CloseClipboard() As Boolean

.

        CloseClipboard()

.

        public static extern bool CloseHandle(HANDLE hObject);

.

                CloseHandle(p);

.
Summary
The waveInClose function closes the given waveform-audio input device.
.

[DllImport ("coredll.dll", EntryPoint="waveInClose", SetLastError=true)]

.

public static extern int waveInClose(IntPtr hDev);

.

Shared Function waveInClose(ByVal hDev As IntPtr) As Integer

.
Documentation
[waveInClose] on MSDN
.

    const uint WIM_CLOSE = 0x3BF;

.

[DllImport ("coredll.dll", EntryPoint="waveOutClose", SetLastError=true)]

.

public static extern int waveOutClose(IntPtr hwo);

.

Declare Function waveOutClose Lib "coredll.dll" (TODO) As TODO

.
Documentation
[waveOutClose] on MSDN
.

    CloseHandle hFile

urlmon

.

        fs.Close();

.

    fs.Close()

Interfaces

.

WindowClosing event is never fired when implemented with 2.0 .Net Fx. Workaround available at http://blogs.msdn.com/jpsanders/archive/2007/05/25/how-to-close-the-form-hosting-the-webbrowser-control-when-scripting-calls-window-close-in-the-net-framework-version-2-0.aspx>

.

    void OnClose();

.

        int CloseDW([In] Int32 dwReserved);

.

    ''' Called by explorer when window is about to close.

.

    Public Overridable Sub CloseDW(dwReserved As UInt32) Implements IDeskBand.CloseDW, IDockingWindow.CloseDW

.

    Sub CloseDW(<[In]> dwReserved As UInt32)

.

    Sub CloseDW(<[In]()> dwReserved As UInt32)

.

        int CloseDW([In] Int32 dwReserved);

.

    ''' Called by explorer when window is about to close.

.

    Public Overridable Sub CloseDW(dwReserved As UInt32) Implements IDeskBand.CloseDW, IDockingWindow.CloseDW

.

    Sub CloseDW(<[In]> dwReserved As UInt32)

.

    Sub CloseDW(<[In]()> dwReserved As UInt32)

.

    void Close ( [MarshalAs ( UnmanagedType.Error )] int hr );

.

    void Close ( [MarshalAs ( UnmanagedType.Error )] int hr );

.

    /// <param name="hEnum">Handle of enumeration to be closed.</param>

.

    /// STDMETHOD_(void, CloseEnum)(

.

    ///     HCORENUM hEnum) PURE;           // Enum to be closed.

.

    void CloseEnum(

.

        metaDataAssemblyImport.CloseEnum(phEnum);

.

                    tempCoreStream.Close();

.

                tempCoreStream.Close();

.

        #region Close

.

        /// Closes an XMLForm in the form control

.

        public void Close(InteractionType interactionType)

.

            // trying to close it

.

                            InfoPathControl.XmlForm.Close();

.

                            throw new HostedException("An error occurred while attempting to close this form", ex);

.

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

.

     void Close(uint dwSaveOption);

.

        /// IProgressDialog::StopProgressDialog to close the dialog box. The application must wait until the

.

        /// box will be closed shortly.

.

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

winscard

.
Summary
The SCardReleaseContext function closes an established resource manager context, freeing any resources allocated under that context, including SCARDHANDLE objects and memory allocated using the SCARD_AUTOALLOCATE length designator.

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();

wintrust

.

        Close = 0x00000002,

kernel32

.

[System.String.Intern] is the closest thing, although an atom is different from a string.

.
Summary
.

static extern bool CloseHandle(IntPtr hObject);

.

Public Shared Function CloseHandle(ByVal hObject As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean

.

Declare Auto Function CloseHandle Lib "kernel32.dll" (ByVal hObject As IntPtr) As Boolean

.

Declare Function CloseHandle Lib "kernel32" Alias "CloseHandle" (ByVal hObject As Integer) As Integer

.

static def CloseHandle(hObject as IntPtr) as bool:

.

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

.

      static extern unsafe bool CloseHandle(

.

CloseHandle(hMapFile)

.
Documentation
[CloseHandle] on MSDN
.

    // so we want to use LayoutKind.Explicit to mimic it as closely

.

        CTRL_CLOSE_EVENT,

.

- Save the current buffer information so you can restore it when close it your buffer

.

  are.Close();

.

CloseHandle(myEventHandle);

.

NOTE: This class needs some changes. The CloseHandle call will destroy the event when the last handle is closed. This makes it hard for one application to "lock" the event while making another wait on it since this class is always closing the handle. An alternative that I found to work is to have the CreateEvent call in the constructor and implement IDisposable by moving the CloseHandle call to the Dispose method.

.

    static extern bool CloseHandle(IntPtr hObject);

.

        CloseHandle( _Handle );

.

        CloseHandle( _Handle );

.

        CloseHandle( _Handle );

.

        CloseHandle( _Handle );

.

        Win32API.CloseHandle(_hMMF);

.

        _fs.Close();

.

    internal static extern bool CloseHandle(IntPtr hFile);

.

        Win32API.CloseHandle(_hMMF);

.

        _fs.Close();

.

    internal static extern bool CloseHandle(IntPtr hFile);

.

            mutex.Close();

.

    ///         then call Close();

.

    private static extern bool CloseHandle(IntPtr handle);

.

        throw new ObjectDisposedException("NamedPipeStream", "The stream has already been closed");

.

        throw new ObjectDisposedException("NamedPipeStream", "The stream has already been closed");

.

    public override void Close()

.

        CloseHandle(_handle);

.

        throw new ObjectDisposedException("NamedPipeStream", "The stream has already been closed");

.

        sw.Close();

.

    private static extern bool CloseHandle([In] IntPtr hObject);

.

        CloseHandle(handleToSnapshot);

.

     FsctlOpBatchAckClosePending = (EFileDevice.FileSystem << 16) | (4 << 2) | EMethod.Buffered | (0 << 14),

.

     FsctlWriteUsnCloseRecord = (EFileDevice.FileSystem << 16) | (59 << 2) | EMethod.Neither | (0 << 14),

.

   Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Integer) As Integer

.

       CloseHandle(hdrive)

.

    DUPLICATE_CLOSE_SOURCE = (0x00000001),// Closes the source handle. This occurs regardless of any error status returned.

.

[System.String.IsInterned] is the closest thing, although an atom is different from a string.

.
Summary
.

static extern bool FindCloseChangeNotification(IntPtr hChangeHandle);

.
Documentation
[FindCloseChangeNotification] on MSDN
.
Summary
.

static extern bool FindCloseChangeNotification(IntPtr hChangeHandle);

.
Documentation
[FindCloseChangeNotification] on MSDN
.

    FindClose(hFile);

.

    FindClose(hFile);

.

    static extern bool FindVolumeClose(IntPtr hFindVolume);

.

        return FindVolumeClose(handle);

.

FindVolumeClose

.

   static extern bool CloseHandle(IntPtr hHandle);

.

            CloseHandle(ptrProcess);

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


 
Access PInvoke.net directly from VS: