#include <windows.h>
#include <windowsx.h>
#include "debug.h"
#include <winioctl.h>
#include "cbmioctl.h"
#include <stdlib.h>
#include <stddef.h>
#include "i_opencbm.h"
#include "version.h"
#include "archlib.h"
#include "vice_comm.h"
Go to the source code of this file.
Defines | |
| #define | DBG_USERMODE |
| #define | DBG_PROGNAME "OPENCBM.DLL" |
Functions | |
| LONG | RegGetDWORD (IN HKEY RegKey, IN char *SubKey, OUT LPDWORD Value) |
| Get a DWORD value from the registry. | |
| const char * | cbmarch_get_driver_name (int PortNumber) |
| Get the name of the driver for a specific parallel port. | |
| int | cbmarch_driver_open (CBM_FILE *HandleDevice, int PortNumber) |
| Opens the driver. | |
| void | cbmarch_driver_close (CBM_FILE HandleDevice) |
| Closes the driver. | |
**************************************************************
Definition in file i_opencbm_vice.c.
|
|
The name of the executable Definition at line 34 of file i_opencbm_vice.c. |
|
|
Mark: We are in user-space (for debug.h) Definition at line 30 of file i_opencbm_vice.c. |
|
|
Closes the driver. Closes the driver, which has be opened with cbm_driver_open() before.
If cbm_driver_open() did not succeed, it is illegal to call cbm_driver_close(). Definition at line 278 of file i_opencbm_vice.c. References FUNC_ENTER, and FUNC_LEAVE. |
|
||||||||||||
|
Opens the driver. This function Opens the driver.
cbm_driver_open() should be balanced with cbm_driver_close(). Definition at line 227 of file i_opencbm_vice.c. References FUNC_ENTER, and FUNC_LEAVE_INT. |
|
|
Get the name of the driver for a specific parallel port. Get the name of the driver for a specific parallel port.
Definition at line 196 of file i_opencbm_vice.c. References FUNC_ENTER, and FUNC_LEAVE_STRING. |
|
||||||||||||||||
|
Get a DWORD value from the registry. This function gets a DWORD value in the registry. It is a simple wrapper for convenience.
Definition at line 77 of file i_opencbm_vice.c. References DBG_ASSERT, DBG_ERROR, DBG_PREFIX, DBG_SUCCESS, FUNC_ENTER, FUNC_LEAVE_INT, and FUNC_PARAM. |
1.4.2