description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The PRINTER\_ENUM\_VALUES structure specifies the value name, type, and data for a printer configuration value returned by the EnumPrinterDataEx function. |
87eb1452-0d9d-46bd-8af8-0542a11a929b |
PRINTER_ENUM_VALUES structure (Winspool.h) |
reference |
05/31/2018 |
|
|
|
|
The PRINTER_ENUM_VALUES structure specifies the value name, type, and data for a printer configuration value returned by the EnumPrinterDataEx function.
typedef struct _PRINTER_ENUM_VALUES {
LPTSTR pValueName;
DWORD cbValueName;
DWORD dwType;
LPBYTE pData;
DWORD cbData;
} PRINTER_ENUM_VALUES, *PPRINTER_ENUM_VALUES;
-
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Unicode and ANSI names |
_PRINTER_ENUM_VALUESW (Unicode) and _PRINTER_ENUM_VALUESA (ANSI) |