Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

par1284.h File Reference

Go to the source code of this file.

Defines

#define P1284_PROTOCOL_ISA   0
#define P1284_PROTOCOL_BYTE   1
#define P1284_PROTOCOL_EPP   2
#define P1284_PROTOCOL_ECP   3
#define P1284_NUM_PROTOCOLS   4

Functions

NTSTATUS P1284Initialize (IN PUCHAR Controller, IN PHYSICAL_ADDRESS OriginalController, IN BOOLEAN UsePICode, IN PPARALLEL_ECP_INFORMATION EcpInfo, OUT PVOID *P1284Extension)
VOID P1284Cleanup (IN PVOID P1284Extension)
NTSTATUS P1284Write (IN PVOID P1284Extension, IN PVOID Buffer, IN ULONG BufferSize, OUT PULONG BytesTransfered)
NTSTATUS P1284Read (IN PVOID P1284Extension, IN PVOID Buffer, IN ULONG BufferSize, OUT PULONG BytesTransfered)
NTSTATUS P1284NegotiateProtocol (IN PVOID P1284Extension, OUT PULONG NegotiatedProtocol)
NTSTATUS P1284SetProtocol (IN PVOID P1284Extension, IN ULONG ProtocolNumber, IN BOOLEAN Negotiate)
NTSTATUS P1284QueryDeviceId (IN PVOID P1284Extension, OUT PUCHAR DeviceIdBuffer, IN ULONG BufferSize, OUT PULONG DeviceIdSize)


Define Documentation

#define P1284_NUM_PROTOCOLS   4
 

Definition at line 34 of file par1284.h.

#define P1284_PROTOCOL_BYTE   1
 

Definition at line 31 of file par1284.h.

#define P1284_PROTOCOL_ECP   3
 

Definition at line 33 of file par1284.h.

#define P1284_PROTOCOL_EPP   2
 

Definition at line 32 of file par1284.h.

#define P1284_PROTOCOL_ISA   0
 

Definition at line 30 of file par1284.h.


Function Documentation

VOID P1284Cleanup IN PVOID  P1284Extension  ) 
 

NTSTATUS P1284Initialize IN PUCHAR  Controller,
IN PHYSICAL_ADDRESS  OriginalController,
IN BOOLEAN  UsePICode,
IN PPARALLEL_ECP_INFORMATION  EcpInfo,
OUT PVOID *  P1284Extension
 

NTSTATUS P1284NegotiateProtocol IN PVOID  P1284Extension,
OUT PULONG  NegotiatedProtocol
 

NTSTATUS P1284QueryDeviceId IN PVOID  P1284Extension,
OUT PUCHAR  DeviceIdBuffer,
IN ULONG  BufferSize,
OUT PULONG  DeviceIdSize
 

NTSTATUS P1284Read IN PVOID  P1284Extension,
IN PVOID  Buffer,
IN ULONG  BufferSize,
OUT PULONG  BytesTransfered
 

NTSTATUS P1284SetProtocol IN PVOID  P1284Extension,
IN ULONG  ProtocolNumber,
IN BOOLEAN  Negotiate
 

NTSTATUS P1284Write IN PVOID  P1284Extension,
IN PVOID  Buffer,
IN ULONG  BufferSize,
OUT PULONG  BytesTransfered
 


Generated on Sat May 15 19:45:01 2004 for test by doxygen 1.3.7