Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlApi_InitCrashHandler Function
PrlApi.h  System Functions  Send Feedback

Lets to initiate standard Parallels crash dump handler.

Syntax
PRL_RESULT PrlApi_InitCrashHandler(
    PRL_CONST_STR sCrashDumpFileSuffix
);
File
Parameters

sCrashDumpFileSuffix
[in] This parameter lets to specify some special suffix into crash dump file name. Parameter is optional and can be null in common case (UTF-8 null-terminated string).

Returns

PRL_RESULT. Possible values are: 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

After this call if application will be crashed a Parallels crash dump will be generated at common Parallels crash dumps directory (you can use PrlApi_GetCrashDumpsPath call in order to determine where crash dump was created). Crash dump file name will beginning with crashed application name and can contain specific suffix (see below).

Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!