OpenCBM
PortAccessWdm.c
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version
5  * 2 of the License, or (at your option) any later version.
6  *
7  * Copyright 2004-2006 Spiro Trikaliotis
8  *
9  */
10 
20 #include <initguid.h>
21 #include <wdm.h>
22 #include "cbm_driver.h"
23 
36 NTSTATUS
37 ParPortSetMode(PDEVICE_EXTENSION Pdx)
38 {
39  FUNC_ENTER();
40 
41  FUNC_LEAVE_NTSTATUS(ParPortSetModeWdm(Pdx));
42 }
43 
57 NTSTATUS
58 ParPortUnsetMode(PDEVICE_EXTENSION Pdx)
59 {
60  FUNC_ENTER();
61 
62  FUNC_LEAVE_NTSTATUS(ParPortUnsetModeWdm(Pdx));
63 }
NTSTATUS ParPortSetMode(PDEVICE_EXTENSION Pdx)
Set the operational mode of the parallel port.
Definition: PortAccessWdm.c:37
NTSTATUS ParPortUnsetMode(PDEVICE_EXTENSION Pdx)
Unset the operational mode of the parallel port.
Definition: PortAccessWdm.c:58
NTSTATUS ParPortSetModeWdm(PDEVICE_EXTENSION Pdx)
Set the operational mode of the parallel port, WDM Version.
Definition: PortAccess.c:461
#define FUNC_ENTER()
Definition: debug.h:347
Definitions for the opencbm driver.
NTSTATUS ParPortUnsetModeWdm(PDEVICE_EXTENSION Pdx)
Unset the operational mode of the parallel port, WDM Version.
Definition: PortAccess.c:549