Collapse All
Parallels C API Reference Guide
PrlApi_InitCrashHandler Function
PrlApi.h System Functions

Initiates the standard Parallels crash dump handler.

Syntax
PRL_RESULT PrlApi_InitCrashHandler(
    PRL_CONST_STR sCrashDumpFileSuffix
);
File
Parameters

sCrashDumpFileSuffix
A user-define suffix to add to the crash dump file name (UTF-8 encoded, null-terminated string). The parameter is optional and can be NULL.
Returns

PRL_RESULT . Possible values are:

PRL_ERR_SUCCESS - function completed successfully.

Remarks

Call this function if you would like a dump file to be created on the application crash. The crush dump will be created in the common Parallels crush dump directory (use PrlApi_GetCrashDumpsPath to obtains its name and path). The crash dump file name will begin with the name of the crashed application and can also contain a user-define suffix that is passed a parameter (see the Parameters subsection).

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!