Also "Notepad++ 8.3.3" in der 32-Bit Version ruft auch nur laut "Rohitab
API Monitor v2" das was du machst, also PrintDlgW.
Ggf. ist das abhängig von den drölftausend Werten, die man im struct LPPRINTDLG ausfüllen kann.
Notepad++ übergibt das hier:
Code:
# Type Name Pre-Call Value
1 LPPRINTDLG lppd 0x009d0924
PRINTDLG { lStructSize = 66, hwndOwner = 0x000915fc, hDevMode = NULL ...}
DWORD lStructSize 66
HWND hwndOwner 0x000915fc
HGLOBAL hDevMode NULL
HGLOBAL hDevNames NULL
HDC hDC NULL NULL
DWORD Flags PD_NOSELECTION | PD_RETURNDC | PD_USEDEVMODECOPIES
WORD nFromPage 1
WORD nToPage 1
WORD nMinPage 1
WORD nMaxPage 65535
WORD nCopies 1
HINSTANCE hInstance 0x00400000 "C:\Program Files (x86)\Notepad++\notepad++.exe"
LPARAM lCustData 0 0
LPPRINTHOOKPROC lpfnPrintHook NULL
LPSETUPHOOKPROC lpfnSetupHook NULL
LPCTSTR lpPrintTemplateName NULL
LPCTSTR lpSetupTemplateName NULL
HGLOBAL hPrintTemplate NULL
HGLOBAL hSetupTemplate NULL
BOOL Return FALSE