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]

Constants

.

        //SetBitmap(hWnd, (isPlaylistVisible ? IDB_RESTORE_PRESSED : IDB_CLOSE_PRESSED));

2: EMR_
.

        EMR_CLOSEFIGURE        = 61,

.

    LINE_CLOSE = 3,

4: LR_
.

    /// in the resource file closest to the desired size. This will succeed only if hImage was loaded by LoadIcon or LoadCursor,

.

    ''' in the resource file closest to the desired size. This will succeed only if hImage was loaded by LoadIcon or LoadCursor,

5: O_
.

const int _O_TEMPORARY   = 0x0040;  /* Temporary file bit - file is deleted when last handle is closed */

.

    public static PropertyKey PKEY_RecordedTV_IsClosedCaptioningAvailable = new PropertyKey( 0x6D748DE2, 0x8D38, 0x4CC3, 0xAC, 0x60, 0xF0, 0x09, 0xB0, 0x57, 0xC5, 0x57, 12);

.

    public static PropertyKey PKEY_Search_IsClosedDirectory = new PropertyKey( 0x0B63E343, 0x9CCC, 0x11D0, 0xBC, 0xDB, 0x00, 0x80, 0x5F, 0xCC, 0xCE, 0x04, 23);

.

    public static PropertyKey WPD_COMMAND_OBJECT_RESOURCES_CLOSE = new PropertyKey(0xB3A2B22D, 0xA595, 0x4108, 0xBE, 0x0A, 0xFC, 0x3C, 0x96, 0x5F, 0x3D, 0x4A, 7);

.

        static extern bool CloseHandle(IntPtr hHandle);

.

                    CloseHandle(hToken);

.

    public const int SEE_MASK_NOCLOSEPROCESS    = 0x00000040;

.

    public const int SEE_MASK_NOCLOSEPROCESS    = 0x00000040;

.

private const uint FILE_FLAG_DELETE_ON_CLOSE     = 0x04000000;

.

public const int FSCTL_OPBATCH_ACK_CLOSE_PENDING = 0x00090010;

.

public const int FSCTL_WRITE_USN_CLOSE_RECORD = 0x000900ef;

.

        /// The semaphore is set and cannot be closed.

.

        /// The pipe is being closed.

.

        /// The network connection was gracefully closed.

.

        /// The RPC pipe object has already been closed.

.

        public const int RPC_X_PIPE_CLOSED = 1916;

.

        /// Unable to open or close the inject/eject port.

.

        /// A close operation is pending on the session.

.

        public const int ERROR_CTX_CLOSE_PENDING = 7007;

.

        /// The unicodePwd attribute value must be enclosed in double quotes.

.

        /// The Global catalog server is not in the closest site.

.

        public const int ERROR_DS_NOT_CLOSEST = 8588;

.

        /// An existing connection was forcibly closed by the remote host.

.

        public const int ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE = 14045;

.

        /// Manifest Parse Error : The following tags were not closed: %1.

.

        public const int ERROR_SXS_XML_E_UNCLOSEDTAG = 14052;

.

        /// Manifest Parse Error : Element was not closed.

.

        public const int ERROR_SXS_XML_E_UNCLOSEDSTARTTAG = 14060;

.

        public const int ERROR_SXS_XML_E_UNCLOSEDENDTAG = 14061;

.

        /// Manifest Parse Error : A string literal was not closed.

.

        public const int ERROR_SXS_XML_E_UNCLOSEDSTRING = 14062;

.

        /// Manifest Parse Error : A comment was not closed.

.

        public const int ERROR_SXS_XML_E_UNCLOSEDCOMMENT = 14063;

.

        /// Manifest Parse Error : A declaration was not closed.

.

        public const int ERROR_SXS_XML_E_UNCLOSEDDECL = 14064;

.

        /// Manifest Parse Error : A CDATA section was not closed.

.

        public const int ERROR_SXS_XML_E_UNCLOSEDCDATA = 14065;

.

        /// CloseClipboard Failed

.

        public const int CLIPBRD_E_CANT_CLOSE = (int)(0x800401D4 - 0x100000000);

.

        /// XACT_E_TRANSACTIONCLOSED

.

        public const int XACT_E_TRANSACTIONCLOSED = (int)(0x8004D083 - 0x100000000);

.

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

.

        public const int CO_E_FAILEDTOCLOSEHANDLE = (int)(0x80010138 - 0x100000000);

.

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

.

        public const int CRYPT_E_PENDING_CLOSE = (int)(0x8009200F - 0x100000000);

.

        public const int OSS_CANT_CLOSE_TRACE_FILE = (int)(0x8009302E - 0x100000000);

12: WM
.
WM_CLOSE 0x10 The WM_CLOSE message is sent as a signal that a window or an application should terminate.
.
WM_MDIDESTROY 0x221 An application sends the WM_MDIDESTROY message to a multiple-document interface (MDI) client window to close an MDI child window.
.
WM_SYSCOMMAND 0x112 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.
.

private const UInt32 WM_CLOSE          = 0x0010;

.

   WM_CLOSE = &H10

.

WM_CLOSE          equ 010h

winmm

.

private void CloseCdCommand()

.

     mciSendString("set CDAudio door closed", rt, 127, IntPtr.Zero);

.
Summary
The midiInClose function closes the specified MIDI input device
.

    private static extern uint midiInClose(IntPtr hMidiIn);

.
Documentation
[midiInClose] on MSDN
.

static extern uint midiOutClose(IntPtr hMidiOut);

.

Declare Function midiOutClose Lib "winmm.dll" (ByRef phMidiOut As IntPtr) As Uinteger

.
Documentation
[midiOutClose] on MSDN
.

The device should be disposed with midiOutClose when not needed anymore.

.

extern static Int32 midiStreamClose(IntPtr hMidiStream);

.

Public Declare Function midiStreamClose Lib "winmm.dll" (ByVal hMidiStream As IntPtr) As Integer

.
Documentation
[midiStreamClose] on MSDN
.

static extern Int32 mixerClose(IntPtr hmx);

.

Declare Function mixerClose Lib "winmm.dll" (ByVal hmx As IntPtr) As Integer

.
Documentation
[mixerClose] on MSDN
.

      oWriter.Close();

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

static extern uint waveInClose(IntPtr hwi);

.

Shared Function waveInClose(<MarshalAs(UnmanagedType.I4)> ByVal hwi As Integer) As MMRESULT

.
Documentation
[waveInClose] on MSDN
.

public static extern uint waveOutClose(IntPtr hwo);

.

Declare Auto Function waveOutClose Lib "winmm.dll" (ByVal hwo As IntPtr) As UInteger

.
Documentation
[waveOutClose] on MSDN
.

I release the unmanaged memory allocated in the Open() method in the class's Close method:

.

        MM_WIM_CLOSE = 0x03BF,

.

  WIM_CLOSE = &H3BF

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)

shlwapi

.
Summary
PathQuoteSpaces - Searches a path for spaces. If spaces are found, the entire path is enclosed in quotation marks.
.

/// Searches a path for spaces. If spaces are found, the entire path is enclosed in quotation marks.

.

''' Searches a path for spaces. If spaces are found, the entire path is enclosed in quotation marks.

Structures

.

    public const int CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG = 0x00000004;

.

    Public Const CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG As Integer = &H4

.

   public POWER_ACTION_POLICY LidCloseAc;

.

   public POWER_ACTION_POLICY LidCloseDc;

.

   Public LidCloseAc As POWER_ACTION_POLICY

.

   Public LidCloseDc As POWER_ACTION_POLICY

.

    HTCLOSE = 20,

.

    /// In a Close button.

.

    HTCLOSE = 20,

.

    /// In a window menu or in a Close button in a child window.

.

     HTCLOSE = 20

.

The handle returned in the PROCESS_INFORMATION structure should be closed explicitly.

.

    public UInt32 ReturnOnlyOnClose;

.

   <FieldOffset(12)> Public ReturnOnlyOnClose As Integer     'DWORD ReturnOnlyOnClose;  

.

public extern static int CloseHandle(IntPtr hObject);

.

     CloseHandle(h);

.

   Public CloseState As TBBStates

.

   CloseHandle(h);

.

   CloseHandle(h);

.

   CloseHandle(h);

.

   CloseHandle(h);

.

   CloseHandle(h);

.

    Close = 0x80000000

wintrust

.

        Close = 0x00000002,

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

user32

.
Summary
.

static extern bool CloseClipboard();

.

CloseClipboard();

.
Documentation
[CloseClipboard] on MSDN
.
Summary
.

static extern bool CloseDesktop(IntPtr hDesktop);

.

Shared Function CloseDesktop(ByVal hDesktop As IntPtr) As Boolean

.
Documentation
[CloseDesktop] on MSDN
.

static extern bool CloseHandle(IntPtr hHandle);

.

Private Shared Function CloseHandle(ByVal hHandle As IntPtr) As Boolean

.
Documentation
[CloseHandle] on MSDN

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


 
Access PInvoke.net directly from VS: