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

ole32

.

public static void FreeDllsNow(UInt32 pause)

.

        CoFreeUnusedLibrariesEx(pause, (UInt32)0);

.

        System.Threading.Thread.Sleep((int)pause);

.

public static void FreeDllsNow(UInt32 pause)

.

          CoFreeUnusedLibrariesEx(pause, (UInt32)0);

.

        System.Threading.Thread.Sleep((int)pause);

Interfaces

.

    Pause = (0x02),

.

    Pause = &H2

Constants

.

        /// <summary> 2191 - The requested pause or stop is not valid for this service. </summary>

.

        /// <summary> 2209 - Network logons are paused. </summary>

.

        public const int LogonsPaused = 2209;

.

        /// <summary> 2281 - The message was sent, but the recipient has paused the Messenger service. </summary>

.

        public const int PausedRemote = 2281;

.

        /// <summary> 2385 - The Run server you requested is paused. </summary>

.

        public const int RunSrvPaused = 2385;

.

    public static PropertyKey WPD_COMMAND_MEDIA_CAPTURE_PAUSE = new PropertyKey(0x59B433BA, 0xFE44, 0x4D8D, 0x80, 0x8C, 0x6B, 0xCB, 0x9B, 0x0F, 0x15, 0xE8, 4);

.

private const int SERVICE_PAUSE_CONTINUE = 0x40;

.

    SERVICE_PAUSE_CONTINUE |

.

Const SERVICE_PAUSE_CONTINUE As Int32 = &H40

.

                    SERVICE_PAUSE_CONTINUE Or _

.

        /// The remote server has been paused or is in the process of being started.

.

        public const int ERROR_SHARING_PAUSED = 70;

.

        /// The specified printer or disk device has been paused.

.

        public const int ERROR_REDIR_PAUSED = 72;

.

        /// The cluster node is not paused.

.

        public const int ERROR_CLUSTER_NODE_NOT_PAUSED = 5058;

.

        /// The cluster node is paused.

.

        public const int ERROR_CLUSTER_NODE_PAUSED = 5070;

.

        /// Activations on the server are paused.

.

        public const int CO_E_SERVER_PAUSED = (int)(0x80004025 - 0x100000000);

.

        /// Activations on the server are not paused.

.

        public const int CO_E_SERVER_NOT_PAUSED = (int)(0x80004026 - 0x100000000);

.

        /// The application cannot be paused or resumed

.

        public const int COMADMIN_E_CAT_PAUSE_RESUME_NOT_SUPPORTED = (int)(0x80110485 - 0x100000000);

.

        /// A paused process may not be recycled.

.

        public const int COMADMIN_E_PAUSEDPROCESSMAYNOTBERECYCLED = (int)(0x80110813 - 0x100000000);

.

        /// A recycled process may not be paused.

.

        public const int COMADMIN_E_RECYCLEDPROCESSMAYNOTBEPAUSED = (int)(0x80110817 - 0x100000000);

shell32

.

    TBPF_PAUSED    = 0x8

gsapi

.

        // "C:\Program Files (x86)\gs\gs9.00\bin\gswin32c" -q -sOutputFile=D:\temp\Planung.tif -dNOPAUSE -dBATCH -P- -dSAFER -sDEVICE#tiffpack  -r100 D:\temp\Planung.pdf

.

        string[] argv = { "flashReader", "-q", "-sOutputFile=C:\\temp\\Outfile.tif", "-dNOPAUSE", "-dBATCH", "-P-", "-dSAFER", "-sDEVICE=tiffpack", "-r100", "C:\\temp\\Infile.pdf" };

ws2_32

.

        /// pause accepting new connections

.

        SO_PAUSE_ACCEPT         =   0x3003,

winmm

.

static extern Int32 midiStreamPause(IntPtr hMidiStream);

.

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

.
Documentation
[midiStreamPause] on MSDN
.

public static extern uint waveOutPause(IntPtr hwo);

.

Public Shared Function waveOutPause(ByVal hwo As IntPtr) As UInteger

.
Documentation
[waveOutPause] on MSDN

rasapi32

.

          public int       dwRedialPause;

Structures

.

        ///PAUSE key

.

        PAUSE = 0x13,

.

        ///Windows 2000/XP: Play/Pause Media key

.

        MEDIA_PLAY_PAUSE = 0xB3,

.

        PAUSE = 0,

.

        MEDIA_PLAY_PAUSE = 34,

.

Estimated time required for a pending start, stop, pause, or continue operation, in milliseconds. Before the specified amount of time has elapsed, the service should make its next call to the SetServiceStatus function with either an incremented dwCheckPoint value or a change in dwCurrentState. If the amount of time specified by dwWaitHint passes, and dwCheckPoint has not been incremented or dwCurrentState has not changed, the service control manager or service control program can assume that an error has occurred and the service should be stopped. However, if the service shares a process with other services, the service control manager cannot terminate the service application because it would have to terminate the other services sharing the process as well.

.

        SERVICE_PAUSE_PENDING = 0x00000006,

.

        SERVICE_PAUSED = 0x00000007,

.

        SERVICE_ACCEPT_PAUSE_CONTINUE = 0x00000002,

.

    SERVICE_PAUSE_PENDING = 0x00000006,

.

    SERVICE_PAUSED = 0x00000007,

coredll

.

    const int RASCS_PAUSED = 0x1000;

.

        RASCS_Interactive = RASCS_PAUSED,

.

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

.

public static extern int waveOutPause(IntPtr hwo);

.

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

.
Documentation
[waveOutPause] on MSDN

user32

.

                VK_PAUSE = 0x13,

.

                VK_MEDIA_PLAY_PAUSE = 0xB3,

.

    VK_PAUSE     = 0x13,

.

    VK_MEDIA_PLAY_PAUSE   = 0xB3,

.

        Arguments = "/c echo hello user ^<!^> && pause",

.

Public Const VK_PAUSE = &H13 'break/pause

.

    public const uint VK_PAUSE = 0x13;

.

    public const uint VK_MEDIA_PLAY_PAUSE = 0xB3;

kernel32

.

    // C# sample for a simple timer to pause before some other code.

.

    // Just call pPause(delay) where delay is the number of milliseconds. e.g. pPause(1000) will pause for 1 second.

.

    // Function to simply pause before returning to other code

.

    private void pPause(long delay)

24: Sleep
.

    Sleep(U2000);  // pause for two seconds

.

    Sleep(2000)  ' pause for two seconds

Enums

.

    ///Activations on the server are paused.

.

    [Description("Activations on the server are paused.")]

.

    public const int CO_E_SERVER_PAUSED = unchecked((int)0x80004025);

.

    ///Activations on the server are not paused.

.

    [Description("Activations on the server are not paused.")]

.

    public const int CO_E_SERVER_NOT_PAUSED = unchecked((int)0x80004026);

.

    ///The application cannot be paused or resumed

.

    [Description("The application cannot be paused or resumed")]

.

    public const int COMADMIN_E_CAT_PAUSE_RESUME_NOT_SUPPORTED = unchecked((int)0x80110485);

.

    ///A paused process may not be recycled.

.

    [Description("A paused process may not be recycled.")]

.

    public const int COMADMIN_E_PAUSEDPROCESSMAYNOTBERECYCLED = unchecked((int)0x80110813);

.

    ///A recycled process may not be paused.

.

    [Description("A recycled process may not be paused.")]

.

    public const int COMADMIN_E_RECYCLEDPROCESSMAYNOTBEPAUSED = unchecked((int)0x80110817);

.

    '''Activations on the server are paused.

.

    <Description("Activations on the server are paused.")> _

.

    Public Const CO_E_SERVER_PAUSED As Integer = CInt(&H80004025UI)

.

    '''Activations on the server are not paused.

.

    <Description("Activations on the server are not paused.")> _

.

    Public Const CO_E_SERVER_NOT_PAUSED As Integer = CInt(&H80004026UI)

.

    '''The application cannot be paused or resumed

.

    <Description("The application cannot be paused or resumed")> _

.

    Public Const COMADMIN_E_CAT_PAUSE_RESUME_NOT_SUPPORTED As Integer = CInt(&H80110485UI)

.

    '''A paused process may not be recycled.

.

    <Description("A paused process may not be recycled.")> _

.

    Public Const COMADMIN_E_PAUSEDPROCESSMAYNOTBERECYCLED As Integer = CInt(&H80110813UI)

.

    '''A recycled process may not be paused.

.

    <Description("A recycled process may not be paused.")> _

.

    Public Const COMADMIN_E_RECYCLEDPROCESSMAYNOTBEPAUSED As Integer = CInt(&H80110817UI)

.

   Pause = 1,

.

   Pause = 1

.

     SERVICE_PAUSE_CONTINUE     = 0x00040,

.

                       SERVICE_PAUSE_CONTINUE       |

.

    SERVICE_PAUSE_CONTINUE = &H40

.

            SERVICE_PAUSE_CONTINUE Or _

.

        Pause = 0x13,

.

        MediaPlayPause = 0xB3,

.

    VK_PAUSE = &H13         ' // [Pause] = 019

.

    VK_MEDIA_PLAY_PAUSE = &HB3  ' // [MediaPlayPause] = 179

29: VK
.

        ///PAUSE key

.

        PAUSE = 0x13,

.

        ///Windows 2000/XP: Play/Pause Media key

.

        MEDIA_PLAY_PAUSE = 0xB3,

.

    PAUSE = 19

.

    MEDIA_PLAY_PAUSE = 179

winspool

30: SetJob
.
Summary
Pauses, resumes, cancels, or restarts a print job on a specified printer.
.

    Public Const JOB_CONTROL_PAUSE = &H1

netapi32

.

    USE_PAUSED = 1

advapi32

.

    PAUSE          = 0x00000002,

.

    SERVICE_PAUSE_PENDING          = 0x00000006,

.

    SERVICE_PAUSED             = 0x00000007

.

    PAUSE_CONTINUE      = 0x00000002,

.

    PAUSE = &H2

.

    SERVICE_PAUSE_PENDING = &H6

.

    SERVICE_PAUSED = &H7

.

    PAUSE_CONTINUE = &H2

.

     protected override void OnPause ()

.

         //TODO: Add pause code here ...

.

         this.CanPauseAndContinue = true;

.

    /// Required to call the ControlService function to pause or continue

.

    SERVICE_PAUSE_CONTINUE = 0x00040,

.

        SERVICE_PAUSE_CONTINUE |

.

        SERVICE_PAUSE_CONTINUE |

.

    ''' Required to call the ControlService function to pause or continue

.

    SERVICE_PAUSE_CONTINUE = &H40

.

        SERVICE_PAUSE_CONTINUE Or _

.

        SERVICE_PAUSE_CONTINUE Or _

.

        SERVICE_PAUSE_CONTINUE     = 0x00040,

.

            SERVICE_PAUSE_CONTINUE       |

.

        SERVICE_PAUSE_PENDING   = 0x00000006,

.

        SERVICE_PAUSED      = 0x00000007,


 
Access PInvoke.net directly from VS: