InitDmpTxt (Windows CE 5.0)
This function opens the dump file and populates allocated structures with relevant data.
HRESULT InitDmpTxt(
LPCWSTR pwzFilePath,
DWORD dwMaxCharsPerLine,
DWORD* pdwTotalLines,
HANDLE* phDmpFile
);
Parameters
pwzFilePath
[in] Full path to the file for viewing.dwMaxCharsPerLine
[in] Maximum characters to display per line in the user interface, excluding the carriage return.Minimum value is 27 characters.
pdwTotalLines
[out] Total lines for display.phDmpFile
[out] Pointer to dump file structures used to access the dump file contents from other function calls.
Return Values
The following table shows return values for this function.
| Value | Description |
|---|---|
| S_OK | Function successful. |
| E_FAIL | Unspecified failure. |
Remarks
The phDmpFile parameter is not a conventional file handle.
After use, close by calling CloseDmpTxt.
You can set the dwMaxCharsPerLine parameter to 0, in which case GetDmpLines is not called. This is useful if you call only GetDmpInfo. The calling function must still close the handle with a call to CloseDmpTxt.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: DwDmpTxt.h.
Link Library: DwDmpTxt.lib.
See Also
Report Upload Client Functions
Send Feedback on this topic to the authors