T
trint
Here's the code:
bool GetJobs(HANDLE hPrinter, /* Handle to the printer. */
JOB_INFO_2 **ppJobInfo, /* Pointer to be filled. */
int *pcJobs, /* Count of jobs filled. */
DWORD *pStatus) /* Print Queue status. */
{
DWORD cByteNeeded,
nReturned,
cByteUsed;
JOB_INFO_2 *pJobStorage = NULL;
PRINTER_INFO_2 *pPrinterInfo = NULL;
}
the error is here:
bool GetJobs(HANDLE <<<<<on handle
here is the error:
error CS0246: The type or namespace name 'HANDLE' could not be found
(are you missing a using directive or an assembly reference?)
Thanks,
Trint
bool GetJobs(HANDLE hPrinter, /* Handle to the printer. */
JOB_INFO_2 **ppJobInfo, /* Pointer to be filled. */
int *pcJobs, /* Count of jobs filled. */
DWORD *pStatus) /* Print Queue status. */
{
DWORD cByteNeeded,
nReturned,
cByteUsed;
JOB_INFO_2 *pJobStorage = NULL;
PRINTER_INFO_2 *pPrinterInfo = NULL;
}
the error is here:
bool GetJobs(HANDLE <<<<<on handle
here is the error:
error CS0246: The type or namespace name 'HANDLE' could not be found
(are you missing a using directive or an assembly reference?)
Thanks,
Trint