Process Hacker
_PH_FORMAT Struct Reference

Describes an element to be formatted to a string. More...

#include <phbase.h>

Data Fields

PH_FORMAT_TYPE Type
 Specifies the type of the element and optional flags.
 
USHORT Precision
 The precision of the element.
 
USHORT Width
 The width of the element.
 
WCHAR Pad
 The pad character.
 
UCHAR Radix
 The meaning of this field depends on the element type.
 
UCHAR Parameter
 The meaning of this field depends on the element type.
 
union {
   WCHAR   Char
 
   PH_STRINGREF   String
 
   PWSTR   StringZ
 
   PH_BYTESREF   MultiByteString
 
   PSTR   MultiByteStringZ
 
   LONG   Int32
 
   LONG64   Int64
 
   LONG_PTR   IntPtr
 
   ULONG   UInt32
 
   ULONG64   UInt64
 
   ULONG_PTR   UIntPtr
 
   DOUBLE   Double
 
   ULONG64   Size
 
u
 

Detailed Description

Describes an element to be formatted to a string.

Definition at line 3485 of file phbase.h.

Field Documentation

WCHAR Char

Definition at line 3508 of file phbase.h.

DOUBLE Double

Definition at line 3519 of file phbase.h.

LONG Int32

Definition at line 3513 of file phbase.h.

LONG64 Int64

Definition at line 3514 of file phbase.h.

LONG_PTR IntPtr

Definition at line 3515 of file phbase.h.

PH_BYTESREF MultiByteString

Definition at line 3511 of file phbase.h.

PSTR MultiByteStringZ

Definition at line 3512 of file phbase.h.

WCHAR Pad

The pad character.

Definition at line 3498 of file phbase.h.

UCHAR Parameter

The meaning of this field depends on the element type.

For Size, this field specifies the minimum size unit.

Definition at line 3505 of file phbase.h.

USHORT Precision

The precision of the element.

The meaning of this field depends on the element type. For Double and Size, this field specifies the number of decimal points to include.

Definition at line 3492 of file phbase.h.

UCHAR Radix

The meaning of this field depends on the element type.

For integer types, this field specifies the base to convert the number into. For Size, this field specifies the maximum size unit.

Definition at line 3502 of file phbase.h.

ULONG64 Size

Definition at line 3521 of file phbase.h.

PH_STRINGREF String

Definition at line 3509 of file phbase.h.

PWSTR StringZ

Definition at line 3510 of file phbase.h.

Specifies the type of the element and optional flags.

Definition at line 3488 of file phbase.h.

union { ... } u
ULONG UInt32

Definition at line 3516 of file phbase.h.

ULONG64 UInt64

Definition at line 3517 of file phbase.h.

ULONG_PTR UIntPtr

Definition at line 3518 of file phbase.h.

USHORT Width

The width of the element.

This field specifies the minimum number of characters to output. The remaining space is padded with either spaces, zeros, or a custom character.

Definition at line 3496 of file phbase.h.


The documentation for this struct was generated from the following file: