Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlApi_InitCrashHandler Function
System Functions

Initiates the standard Parallels crash dump handler.

Syntax
PRL_RESULT PrlApi_InitCrashHandler(
    PRL_CONST_STR sCrashDumpFileSuffix
);
File

PrlApiCore.h

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
© 2021 Parallels International GmbH. All rights reserved.