FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
io_printer.c
Go to the documentation of this file.
1
/* printer access stubs */
2
3
#include "../fb.h"
4
5
int
fb_PrinterOpen
(
DEV_LPT_INFO
*devInfo,
int
iPort,
const
char
*pszDevice )
6
{
7
return
fb_ErrorSetNum
(
FB_RTERROR_FILENOTFOUND
);
8
}
9
10
int
fb_PrinterWrite
(
DEV_LPT_INFO
*devInfo,
const
void
*data,
size_t
length )
11
{
12
return
fb_ErrorSetNum
(
FB_RTERROR_FILEIO
);
13
}
14
15
int
fb_PrinterWriteWstr
(
DEV_LPT_INFO
*devInfo,
const
FB_WCHAR
*data,
size_t
length )
16
{
17
return
fb_ErrorSetNum
(
FB_RTERROR_FILEIO
);
18
}
19
20
int
fb_PrinterClose
(
DEV_LPT_INFO
*devInfo )
21
{
22
return
fb_ErrorSetNum
(
FB_RTERROR_FILEIO
);
23
}
rtlib
xbox
io_printer.c
Generated on Thu Jan 23 2014 19:40:09 for FreeBASIC by
1.8.4