AdvancedDocumentProperties |
VB声明 |
Declare Function AdvancedDocumentProperties Lib "winspool.drv" Alias "AdvancedDocumentPropertiesA" (ByVal hwnd As Long, ByVal hPrinter As Long, ByVal pDeviceName As String, pDevModeOutput As DEVMODE, pDevModeInput As DEVMODE) As Long |
说明 |
启动打印机文档设置对话框。这个函数几乎完全等价于调用DocumentProperties函数,同时将fMode设为DM_IN_PROMPT。请参考对DocumentProperties函数的说明,了解这个函数的详细情况 |
返回值 |
Long,非零表示成功,零表示失败。会设置GetLastError |
注解 |
将pDevModeOutput设为0后可得到要求的DEVMODE结构的大小 |
Top |