Intermec PENKEY 6100 Programmer's Reference Manual page 94

Hide thumbs Also See for PENKEY 6100:
Table of Contents

Advertisement

Supporting Windows Applications
Printer Services API
Retrieving the API Entry Point PrtService
hInstNorPrnt = LoadLibrary( "NORNPCP.DRV" );
if ( hInstNorPrnt <= HINSTANCE_ERROR ) {
}
lpfnPrtService =
if ( lpfnPrtService == NULL ) {
}
Calling PrtService
WORD wOpt, LPARAM lParam1, LPARAM lParam2)
R
3-26
PEN*KEY
6100 Computer Programmer's Reference Guide
IDRETRY (0x04)
IDCANCEL
PrtService
(0x0010)
Printer Services API
MessageBox( NULL,
"Could not open printer driver.",
"ERROR",
MB_OK | MB_ICONEXCLAMATION );
return FALSE;
(fpPrtService)GetProcAddress(hInstNorPrnt, "PrtService");
MessageBox( NULL,
"Unable to get address for\nPrtService",
"ERROR",
MB_OK | MB_ICONEXCLAMATION );
return FALSE;
IDRETRY
PRT_DISABLE (0x0002)
PrtService (HINSTANCE hInst,
SECTION 3
IDCANCEL (0x02)
PRT_SETPROC

Advertisement

Table of Contents
loading

Table of Contents