GetDmpLines (Compact 2013)

3/26/2014

This function gets the contents of the dump file.

Syntax

HRESULT GetDmpLines(
  HANDLE hDmpFile,
  LPWSTR pwzBuf,
  DWORD dwBufSize,
  DWORD dwBegLine,
  DWORD dwEndLine
);

Parameters

  • hDmpFile
    [in] Handle to dump file structures.
  • pwzBuf
    [in] Buffer to fill with display text.
  • dwBufSize
    [in] Size of the buffer in bytes.
  • dwBegLine
    [in] Beginning line to put in the buffer. Must be at least 1.
  • dwEndLine
    [in] End line to put in the buffer. Must be all of the following:

    • At least 1
    • Greater than or equal to dwBegLine
    • Less than or equal to the value of *pdwTotalLines returned by the InitDmpTxt function.

Return Value

The following table shows return values for this function.

Value

Description

S_OK

Function successful.

E_FAIL

Unspecified failure.

Requirements

Header

dwdmptxt.h

Library

dwdmptxt.lib

See Also

Reference

Report Upload Client Functions