FreeBASIC
0.91.0
|
Go to the source code of this file.
Macros | |
#define | INFO(message) /* print __FUNCTION__ & "(): " & message */ |
#define | APIFAILED(func) /* print_winapi_error(__FUNCTION__, func) */ |
Functions | |
private sub | print_winapi_error (byval_as_zstring_ptr parent, byval_as_zstring_ptr func) |
private sub | delete_service (byval_as_SC_HANDLE manager) |
private sub | stop_service (byval_as_SC_HANDLE manager) |
private sub | create_fbportio_sys () |
private sub | create_service (byval_as_SC_HANDLE manager) |
private sub | start_service (byval_as_SC_HANDLE manager) |
private sub | access_driver (byval_as_HANDLE h, byval_as_DWORD code, byval_as_any_ptr pin, byval_as_uinteger insize, byval_as_any_ptr pout, byval_as_uinteger outsize) |
private sub | init_driver () |
private sub | write_driver (byval_as_short port, byval_as_byte dat) |
private sub | read_driver (byval_as_short port, byval_as_byte_ptr pdat) |
Variables | |
SC_HANDLE | manager = OpenSCManager(NULL, NULL, GENERIC_ALL) |
#define APIFAILED | ( | func) | /* print_winapi_error(__FUNCTION__, func) */ |
Definition at line 10 of file tester.bas.
#define INFO | ( | message) | /* print __FUNCTION__ & "(): " & message */ |
Definition at line 9 of file tester.bas.
private sub access_driver | ( | byval_as_HANDLE | h, |
byval_as_DWORD | code, | ||
byval_as_any_ptr | pin, | ||
byval_as_uinteger | insize, | ||
byval_as_any_ptr | pout, | ||
byval_as_uinteger | outsize | ||
) |
private sub create_fbportio_sys | ( | ) |
Definition at line 64 of file tester.bas.
private sub create_service | ( | byval_as_SC_HANDLE | manager) |
Definition at line 80 of file tester.bas.
private sub delete_service | ( | byval_as_SC_HANDLE | manager) |
Definition at line 31 of file tester.bas.
private sub init_driver | ( | ) |
private sub print_winapi_error | ( | byval_as_zstring_ptr | parent, |
byval_as_zstring_ptr | func | ||
) |
Definition at line 12 of file tester.bas.
private sub read_driver | ( | byval_as_short | port, |
byval_as_byte_ptr | pdat | ||
) |
Definition at line 190 of file tester.bas.
private sub start_service | ( | byval_as_SC_HANDLE | manager) |
Definition at line 105 of file tester.bas.
private sub stop_service | ( | byval_as_SC_HANDLE | manager) |
Definition at line 48 of file tester.bas.
private sub write_driver | ( | byval_as_short | port, |
byval_as_byte | dat | ||
) |
Definition at line 180 of file tester.bas.
Definition at line 208 of file tester.bas.