Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

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.


Detailed Description

Read some bytes from the IEC bus.

**************************************************************

Author:
Spiro Trikaliotis
Version:
Id
rawread.c,v 1.13 2006/03/12 16:33:52 trikalio Exp

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:
Pdx Pointer to the device extension.
Buffer Pointer to a buffer where the read bytes are written to.
Size Maximum number of characters to read from the bus.
Read Pointer 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 49 of file rawread.c.

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

Referenced by cbm_execute_readwrite().


Generated on Sun Apr 30 18:46:15 2006 for opencbm by  doxygen 1.4.2