OpenCBM
Functions
rawwrite.c File Reference

Write some bytes to 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_write (IN PDEVICE_EXTENSION Pdx, IN const PUCHAR Buffer, IN ULONG Size, OUT ULONG *Written)
 Write some bytes to the IEC bus. More...
 

Detailed Description

Write some bytes to 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 rawwrite.c.

Function Documentation

NTSTATUS cbmiec_raw_write ( IN PDEVICE_EXTENSION  Pdx,
IN const PUCHAR  Buffer,
IN ULONG  Size,
OUT ULONG *  Written 
)

Write some bytes to the IEC bus.

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.
WrittenPointer to the variable which will hold the number of written bytes.
Returns
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.

ATN is released on return of this routine

Definition at line 47 of file rawwrite.c.

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

Referenced by cbm_execute_readwrite().