OpenCBM
Functions
rawread.c File Reference

Read some bytes from the IEC bus. More...

#include <wdm.h>
#include "cbm_driver.h"
#include "i_iec.h"

Go to the source code of this file.

Functions

NTSTATUS cbmiec_raw_read (IN PDEVICE_EXTENSION Pdx, OUT PUCHAR Buffer, IN ULONG Size, OUT ULONG *Read)
 Read some bytes from the IEC bus. More...
 

Detailed Description

Read some bytes from the IEC bus.



Author
Spiro Trikaliotis
Authors
Based on code from Michael Klein <michael(dot)klein(at)puffin(dot)lb(dot)shuttle(dot)de>

Definition in file rawread.c.

Function Documentation

NTSTATUS cbmiec_raw_read ( IN PDEVICE_EXTENSION  Pdx,
OUT PUCHAR  Buffer,
IN ULONG  Size,
OUT ULONG *  Read 
)

Read some bytes from the IEC bus.

This function reads some bytes from the IEC bus. If debugging of function parameters is defined, output the given parameters and the returned values.

Parameters
PdxPointer to the device extension.
BufferPointer to a buffer where the read bytes are written to.
SizeMaximum number of characters to read from the bus.
ReadPointer to the variable which will hold the read bytes.
Returns
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.

Definition at line 48 of file rawread.c.

References cbmiec_i_raw_read(), DBG_PREFIX, FUNC_ENTER, and FUNC_PARAM.

Referenced by cbm_execute_readwrite().