windows-headers v1.0.5 (2023-02-25T02:47:12Z)
Dub
Repo
GetDefaultPrinterW
windows
winspool
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
extern (
Windows
) nothrow
static if
(
_WIN32_WINNT >= 0x500
)
BOOL
GetDefaultPrinterW
(
LPWSTR
,
LPDWORD
)
Meta
Source
See Implementation
windows
winspool
aliases
PADDJOB_INFO_1A, LPADDJOB_INFO_1A
PADDJOB_INFO_1W, LPADDJOB_INFO_1W
PDATATYPES_INFO_1A, LPDATATYPES_INFO_1A
PDATATYPES_INFO_1W, LPDATATYPES_INFO_1W
PDOC_INFO_1A, LPDOC_INFO_1A
PDOC_INFO_1W, LPDOC_INFO_1W
PDOC_INFO_2A, LPDOC_INFO_2A
PDOC_INFO_2W, LPDOC_INFO_2W
PDRIVER_INFO_1A, LPDRIVER_INFO_1A
PDRIVER_INFO_1W, LPDRIVER_INFO_1W
PDRIVER_INFO_2A, LPDRIVER_INFO_2A
PDRIVER_INFO_2W, LPDRIVER_INFO_2W
PDRIVER_INFO_3A, LPDRIVER_INFO_3A
PDRIVER_INFO_3W, LPDRIVER_INFO_3W
PJOB_INFO_1A, LPJOB_INFO_1A
PJOB_INFO_1W, LPJOB_INFO_1W
PJOB_INFO_2A, LPJOB_INFO_2A
PJOB_INFO_2W, LPJOB_INFO_2W
PMONITOR_INFO_1A, LPMONITOR_INFO_1A
PMONITOR_INFO_1W, LPMONITOR_INFO_1W
PPORT_INFO_1A, LPPORT_INFO_1A
structs
ADDJOB_INFO_1A
ADDJOB_INFO_1W
DATATYPES_INFO_1A
DATATYPES_INFO_1W
DOC_INFO_1A
DOC_INFO_1W
DOC_INFO_2A
DOC_INFO_2W
DRIVER_INFO_1A
DRIVER_INFO_1W
DRIVER_INFO_2A
DRIVER_INFO_2W
DRIVER_INFO_3A
DRIVER_INFO_3W
JOB_INFO_1A
JOB_INFO_1W
JOB_INFO_2A
JOB_INFO_2W
MONITOR_INFO_1A
MONITOR_INFO_1W
PORT_INFO_1A
variables
DEF_PRIORITY
DI_CHANNEL
DI_CHANNEL_WRITE
DI_READ_SPOOL_JOB
FORM_BUILTIN
JOB_ACCESS_ADMINISTER
JOB_ALL_ACCESS
JOB_CONTROL_CANCEL
JOB_CONTROL_DELETE
JOB_CONTROL_PAUSE
JOB_CONTROL_RESTART
JOB_CONTROL_RESUME
JOB_EXECUTE
JOB_NOTIFY_FIELD_BYTES_PRINTED
JOB_NOTIFY_FIELD_DATATYPE
JOB_NOTIFY_FIELD_DEVMODE
JOB_NOTIFY_FIELD_DOCUMENT
JOB_NOTIFY_FIELD_DRIVER_NAME
JOB_NOTIFY_FIELD_MACHINE_NAME
JOB_NOTIFY_FIELD_NOTIFY_NAME
JOB_NOTIFY_FIELD_PAGES_PRINTED
JOB_NOTIFY_FIELD_PARAMETERS
JOB_NOTIFY_FIELD_PORT_NAME
JOB_NOTIFY_FIELD_POSITION
JOB_NOTIFY_FIELD_PRINTER_NAME
JOB_NOTIFY_FIELD_PRINT_PROCESSOR
JOB_NOTIFY_FIELD_PRIORITY
JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR
JOB_NOTIFY_FIELD_START_TIME
JOB_NOTIFY_FIELD_STATUS
JOB_NOTIFY_FIELD_STATUS_STRING
JOB_NOTIFY_FIELD_SUBMITTED
JOB_NOTIFY_FIELD_TIME
JOB_NOTIFY_FIELD_TOTAL_BYTES
JOB_NOTIFY_FIELD_TOTAL_PAGES
JOB_NOTIFY_FIELD_UNTIL_TIME
JOB_NOTIFY_FIELD_USER_NAME
JOB_NOTIFY_TYPE
JOB_POSITION_UNSPECIFIED
JOB_READ
JOB_STATUS_BLOCKED_DEVQ
JOB_STATUS_DELETED
JOB_STATUS_DELETING
JOB_STATUS_ERROR
JOB_STATUS_OFFLINE
JOB_STATUS_PAPEROUT
JOB_STATUS_PAUSED
JOB_STATUS_PRINTED
JOB_STATUS_PRINTING
JOB_STATUS_SPOOLING
JOB_STATUS_USER_INTERVENTION
JOB_WRITE
MAX_PRIORITY
MIN_PRIORITY
NO_PRIORITY
PORT_STATUS_DOOR_OPEN
PORT_STATUS_NO_TONER
PORT_STATUS_OFFLINE
PORT_STATUS_OUTPUT_BIN_FULL
PORT_STATUS_OUT_OF_MEMORY
PORT_STATUS_PAPER_JAM
PORT_STATUS_PAPER_OUT
PORT_STATUS_PAPER_PROBLEM
PORT_STATUS_POWER_SAVE
PORT_STATUS_TONER_LOW
PORT_STATUS_TYPE_ERROR
PORT_STATUS_TYPE_INFO
PORT_STATUS_TYPE_WARNING
PORT_STATUS_USER_INTERVENTION
PORT_STATUS_WARMING_UP
PORT_TYPE_NET_ATTACHED
PORT_TYPE_READ
PORT_TYPE_REDIRECTED
PORT_TYPE_WRITE
PRINTER_ACCESS_ADMINISTER
PRINTER_ACCESS_USE
PRINTER_ALL_ACCESS
PRINTER_ATTRIBUTE_DEFAULT
PRINTER_ATTRIBUTE_DIRECT
PRINTER_ATTRIBUTE_DO_COMPLETE_FIRST
PRINTER_ATTRIBUTE_ENABLE_BIDI
PRINTER_ATTRIBUTE_ENABLE_DEVQ
PRINTER_ATTRIBUTE_HIDDEN
PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS
PRINTER_ATTRIBUTE_LOCAL
PRINTER_ATTRIBUTE_NETWORK
PRINTER_ATTRIBUTE_PUBLISHED
PRINTER_ATTRIBUTE_QUEUED
PRINTER_ATTRIBUTE_RAW_ONLY
PRINTER_ATTRIBUTE_SHARED
PRINTER_ATTRIBUTE_WORK_OFFLINE
PRINTER_CHANGE_ADD_FORM
PRINTER_CHANGE_ADD_JOB
PRINTER_CHANGE_ADD_PORT
PRINTER_CHANGE_ADD_PRINTER
PRINTER_CHANGE_ADD_PRINTER_DRIVER
PRINTER_CHANGE_ADD_PRINT_PROCESSOR
PRINTER_CHANGE_ALL
PRINTER_CHANGE_CONFIGURE_PORT
PRINTER_CHANGE_DELETE_FORM
PRINTER_CHANGE_DELETE_JOB
PRINTER_CHANGE_DELETE_PORT
PRINTER_CHANGE_DELETE_PRINTER
PRINTER_CHANGE_DELETE_PRINTER_DRIVER
PRINTER_CHANGE_DELETE_PRINT_PROCESSOR
PRINTER_CHANGE_FAILED_CONNECTION_PRINTER
PRINTER_CHANGE_FORM
PRINTER_CHANGE_JOB
PRINTER_CHANGE_PORT
PRINTER_CHANGE_PRINTER
PRINTER_CHANGE_PRINTER_DRIVER
PRINTER_CHANGE_PRINT_PROCESSOR
PRINTER_CHANGE_SET_FORM
PRINTER_CHANGE_SET_JOB
PRINTER_CHANGE_SET_PRINTER
PRINTER_CHANGE_SET_PRINTER_DRIVER
PRINTER_CHANGE_TIMEOUT
PRINTER_CHANGE_WRITE_JOB
PRINTER_CONTROL_PAUSE
PRINTER_CONTROL_PURGE
PRINTER_CONTROL_RESUME
PRINTER_CONTROL_SET_STATUS
PRINTER_ENUM_CONNECTIONS
PRINTER_ENUM_CONTAINER
PRINTER_ENUM_DEFAULT
PRINTER_ENUM_EXPAND
PRINTER_ENUM_FAVORITE
PRINTER_ENUM_ICON1
PRINTER_ENUM_ICON2
PRINTER_ENUM_ICON3
PRINTER_ENUM_ICON4
PRINTER_ENUM_ICON5
PRINTER_ENUM_ICON6
PRINTER_ENUM_ICON7
PRINTER_ENUM_ICON8
PRINTER_ENUM_ICONMASK
PRINTER_ENUM_LOCAL
PRINTER_ENUM_NAME
PRINTER_ENUM_NETWORK
PRINTER_ENUM_REMOTE
PRINTER_ENUM_SHARED
PRINTER_ERROR_INFORMATION
PRINTER_ERROR_JAM
PRINTER_ERROR_OUTOFPAPER
PRINTER_ERROR_OUTOFTONER
PRINTER_ERROR_SEVERE
PRINTER_ERROR_WARNING
PRINTER_EXECUTE
PRINTER_NOTIFY_FIELD_ATTRIBUTES
PRINTER_NOTIFY_FIELD_AVERAGE_PPM
PRINTER_NOTIFY_FIELD_BYTES_PRINTED
PRINTER_NOTIFY_FIELD_CJOBS
PRINTER_NOTIFY_FIELD_COMMENT
PRINTER_NOTIFY_FIELD_DATATYPE
PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY
PRINTER_NOTIFY_FIELD_DEVMODE
PRINTER_NOTIFY_FIELD_DRIVER_NAME
PRINTER_NOTIFY_FIELD_LOCATION
PRINTER_NOTIFY_FIELD_PAGES_PRINTED
PRINTER_NOTIFY_FIELD_PARAMETERS
PRINTER_NOTIFY_FIELD_PORT_NAME
PRINTER_NOTIFY_FIELD_PRINTER_NAME
PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR
PRINTER_NOTIFY_FIELD_PRIORITY
PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR
PRINTER_NOTIFY_FIELD_SEPFILE
PRINTER_NOTIFY_FIELD_SERVER_NAME
PRINTER_NOTIFY_FIELD_SHARE_NAME
PRINTER_NOTIFY_FIELD_START_TIME
PRINTER_NOTIFY_FIELD_STATUS
PRINTER_NOTIFY_FIELD_STATUS_STRING
PRINTER_NOTIFY_FIELD_TOTAL_BYTES
PRINTER_NOTIFY_FIELD_TOTAL_PAGES
PRINTER_NOTIFY_FIELD_UNTIL_TIME
PRINTER_NOTIFY_INFO_DISCARDED
PRINTER_NOTIFY_OPTIONS_REFRESH
PRINTER_NOTIFY_TYPE
PRINTER_READ
PRINTER_STATUS_BUSY
PRINTER_STATUS_DOOR_OPEN
PRINTER_STATUS_ERROR
PRINTER_STATUS_INITIALIZING
PRINTER_STATUS_IO_ACTIVE
PRINTER_STATUS_MANUAL_FEED
PRINTER_STATUS_NOT_AVAILABLE
PRINTER_STATUS_NO_TONER
PRINTER_STATUS_OFFLINE
PRINTER_STATUS_OUTPUT_BIN_FULL
PRINTER_STATUS_OUT_OF_MEMORY
PRINTER_STATUS_PAGE_PUNT
PRINTER_STATUS_PAPER_JAM
PRINTER_STATUS_PAPER_OUT
PRINTER_STATUS_PAPER_PROBLEM
PRINTER_STATUS_PAUSED
PRINTER_STATUS_PENDING_DELETION
PRINTER_STATUS_POWER_SAVE
PRINTER_STATUS_PRINTING
PRINTER_STATUS_PROCESSING
PRINTER_STATUS_SERVER_UNKNOWN
PRINTER_STATUS_TONER_LOW
PRINTER_STATUS_USER_INTERVENTION
PRINTER_STATUS_WAITING
PRINTER_STATUS_WARMING_UP
PRINTER_WRITE
SERVER_ACCESS_ADMINISTER
SERVER_ACCESS_ENUMERATE
SERVER_ALL_ACCESS
SERVER_EXECUTE
SERVER_READ
SERVER_WRITE