Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlApi_InitCrashHandler Function
System Functions

Initiates the standard Virtuozzo 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 Virtuozzo 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 ©2016-2017 Parallels International GmbH. All rights reserved.