ProfFinish

3.0

  void ProfFinish(void)    

The ProfFinish function stops Microsoft Windows Profiler sampling and flushes the output buffer to disk.

Parameters

This function has no parameters.

Return Value

This function does not return a value.

Comments

If Profiler is running in 386 enhanced mode, the ProfFinish function also frees the buffer for system use.

For more information about using Profiler, see Microsoft Windows Programming Tools.

Example

The following example uses the ProfFinish function to stop sampling and flush the output buffer during WM_DESTROY message processing:

case WM_DESTROY:
    ProfFinish();
    PostQuitMessage(0);
    break;