Skip to content

Latest commit

 

History

History
101 lines (75 loc) · 3.94 KB

ns-shellapi-open_printer_props_infow.md

File metadata and controls

101 lines (75 loc) · 3.94 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:shellapi._OPEN_PRINTER_PROPS_INFOW
OPEN_PRINTER_PROPS_INFOW (shellapi.h)
Identifies a particular property sheet in a printer's property pages and whether that property sheet should be modal. Optionally used with the SHInvokePrinterCommand function. (Unicode)
*POPEN_PRINTER_PROPS_INFOW
OPEN_PRINTER_PROPS_INFO
OPEN_PRINTER_PROPS_INFO structure [Windows Shell]
OPEN_PRINTER_PROPS_INFOA
OPEN_PRINTER_PROPS_INFOW
POPEN_PRINTER_PROPS_INFO
POPEN_PRINTER_PROPS_INFO structure pointer [Windows Shell]
_shell_OPEN_PRINTER_PROPS_INFO
shell.OPEN_PRINTER_PROPS_INFO
shellapi/OPEN_PRINTER_PROPS_INFO
shellapi/OPEN_PRINTER_PROPS_INFOA
shellapi/OPEN_PRINTER_PROPS_INFOW
shellapi/POPEN_PRINTER_PROPS_INFO
shell\OPEN_PRINTER_PROPS_INFO.htm
shell
c5cabb04-20a2-40ce-aa4d-180b73db8eac
12/05/2018
*POPEN_PRINTER_PROPS_INFOW, OPEN_PRINTER_PROPS_INFO, OPEN_PRINTER_PROPS_INFO structure [Windows Shell], OPEN_PRINTER_PROPS_INFOA, OPEN_PRINTER_PROPS_INFOW, POPEN_PRINTER_PROPS_INFO, POPEN_PRINTER_PROPS_INFO structure pointer [Windows Shell], _shell_OPEN_PRINTER_PROPS_INFO, shell.OPEN_PRINTER_PROPS_INFO, shellapi/OPEN_PRINTER_PROPS_INFO, shellapi/OPEN_PRINTER_PROPS_INFOA, shellapi/OPEN_PRINTER_PROPS_INFOW, shellapi/POPEN_PRINTER_PROPS_INFO
shellapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
OPEN_PRINTER_PROPS_INFOW (Unicode) and OPEN_PRINTER_PROPS_INFOA (ANSI)
Windows
OPEN_PRINTER_PROPS_INFOW, *POPEN_PRINTER_PROPS_INFOW
19H1
_OPEN_PRINTER_PROPS_INFOW
shellapi/_OPEN_PRINTER_PROPS_INFOW
POPEN_PRINTER_PROPS_INFOW
shellapi/POPEN_PRINTER_PROPS_INFOW
OPEN_PRINTER_PROPS_INFOW
shellapi/OPEN_PRINTER_PROPS_INFOW
c++
APIRef
kbSyntax
HeaderDef
Shellapi.h
OPEN_PRINTER_PROPS_INFO
OPEN_PRINTER_PROPS_INFOA
OPEN_PRINTER_PROPS_INFOW

OPEN_PRINTER_PROPS_INFOW structure

-description

Identifies a particular property sheet in a printer's property pages and whether that property sheet should be modal. Optionally used with the SHInvokePrinterCommand function.

-struct-fields

-field dwSize

Type: DWORD

The size of the structure.

-field pszSheetName

Type: LPSTR

The name of the property sheet. If the specified sheet is not found, the property sheet still appears with the default first page.

-field uSheetIndex

Type: UINT

The index of the property sheet in the array of property sheets that makes up the window. If empty or invalid, the default first page is displayed.

-field dwFlags

Type: DWORD

Not used.

-field bModal

Type: BOOL

TRUE if the property sheet should be modal; otherwise, FALSE.

-remarks

This structure can be passed in the lpBuf2 parameter of the SHInvokePrinterCommand function when that function's uAction parameter is set to PRINTACTION_PROPERTIES.

Note

The shellapi.h header defines OPEN_PRINTER_PROPS_INFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.