modules/portlib/src/main/native/port/windows/hyosdump.c File Reference

Detailed Description

Dump formatting.

#include <windows.h>
#include <winnt.h>
#include <stdlib.h>
#include <float.h>
#include <process.h>
#include <dbghelp.h>
#include "hyport.h"
#include "hysignal.h"


UDATA VMCALL hydump_create (struct HyPortLibrary *portLibrary, char *filename, char *dumpType, void *userData)
 Create a dump file of the OS state.

Function Documentation

UDATA VMCALL hydump_create ( struct HyPortLibrary portLibrary,
char *  filename,
char *  dumpType,
void *  userData 

Create a dump file of the OS state.

[in] portLibrary The port library.
[in] filename Buffer for filename optionally containing the filename where dump is to be output.
[out] filename filename used for dump file or error message.
[in] dumpType Type of dump to perform.
[in] userData Implementation specific data.
0 on success, non-zero otherwise.
filename buffer can not be NULL.

user allocates and frees filename buffer.

filename buffer length is platform dependent, assumed to be HyMaxPath/MAX_PATH

if filename buffer is empty, a filename will be generated.

if HYUNIQUE_DUMPS is set, filename will be unique.

Genereated on Tue Dec 9 14:12:59 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.