Description: #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
main ()
{
PRINTDLG pd
DOCINFO di
char* szMessage
memset (&pd, 0, sizeof(PRINTDLG))
memset (&di, 0, sizeof(DOCINFO))
di.cbSize = sizeof(DOCINFO)
di.lpszDocName = "Test"
pd.lStructSize = sizeof(PRINTDLG)
pd.Flags = PD_PAGENUMS | PD_RETURNDC
pd.nFromPage = 1
pd.nToPage = 1
pd.nMinPage = 1
pd.nMaxPage = 1
szMessage = 0
To Search:
File list (Check if you may need any files):
prntest.c