Platform SDK: Debugging and Error Handling

OUTPUT_DEBUG_STRING_INFO

The OUTPUT_DEBUG_STRING_INFO structure contains the address, format, and length, in bytes, of a debugging string.

typedef struct _OUTPUT_DEBUG_STRING_INFO { 
  LPSTR lpDebugStringData; 
  WORD  fUnicode; 
  WORD  nDebugStringLength; 
} OUTPUT_DEBUG_STRING_INFO, *LPOUTPUT_DEBUG_STRING_INFO; 

Members

lpDebugStringData
Pointer to the debugging string in the calling process's address space. The debugger can use the ReadProcessMemory function to retrieve the value of the string.
fUnicode
Specifies the format of the debugging string. If this member is zero, the debugging string is ANSI; if it is nonzero, the string is Unicode.
nDebugStringLength
Specifies the length, in characters, of the debugging string. The length includes the string's terminating null character.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Winbase.h; include Windows.h.

See Also

Debugging Overview, Debugging Structures, DEBUG_EVENT, ReadProcessMemory