PRINTER_ENUM_VALUES structure

The PRINTER_ENUM_VALUES structure specifies the value name, type, and data for a printer configuration value returned by the EnumPrinterDataEx function.

Syntax

typedef struct _PRINTER_ENUM_VALUES {
  LPTSTR pValueName;
  DWORD  cbValueName;
  DWORD  dwType;
  LPBYTE pData;
  DWORD  cbData;
} PRINTER_ENUM_VALUES, *PPRINTER_ENUM_VALUES;

Members

pValueName

Pointer to a null-terminated string that specifies the name of the retrieved value.

cbValueName

The number of bytes in the pValueName member, including the terminating NULL character.

dwType

A code indicating the type of data pointed to by the pData member. For a list of the possible type codes, see Registry Value Types.

pData

Pointer to a buffer containing the data for the retrieved value.

cbData

The number of bytes retrieved in the pData buffer.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winspool.h (include Windows.h)
Unicode and ANSI names
_PRINTER_ENUM_VALUESW (Unicode) and _PRINTER_ENUM_VALUESA (ANSI)

See also

Printing

Print Spooler API Structures

EnumPrinterDataEx