DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

ReadMemory(D3pccard)


ReadMemory -- read card's memory region

Synopsis (Unsupported service)

   #include <sys/types.h>
   #include <sys/lcs.h>
   #include <sys/lss.h>
   

int CardServices (ReadMemory, MemoryHandle_t *mh, int n2, int ReadMemoryLen, ReadMemory_t *mw, rm_key_t key);

Description

ReadMemory( ) uses members of the ReadMemory(D4pccard) structure to help gain access to a desired region of memory on a Client's card. An MTD then reads the data.

Arguments


mh
Pointer to a MemoryHandle(D4pccard) structure.

n2
buffer into which the data will be read.

ReadMemoryLen
Length of the ReadMemory(D4pccard) structure.

mw
pointer to the ReadMemory(D4pccard) structure that describes the system memory buffer that will receive the data from the card.

key
Resource manager key.

Return values


UNSUPPORTED_SERVICE
Service not currently supported.

Usage

MemoryHandle_t must have been previously returned by the OpenMemory(D3pccard) service.

The data structure of ReadMemory is given as follows:

Context and synchronization

Interrupt or user context

Hardware applicability

All

Version applicability

pccard: 3

References

CloseMemory(D3pccard), CopyMemory(D3pccard), MemoryHandle(D4pccard) OpenMemory(D3pccard), ReadMemory(D4pccard) WriteMemory(D3pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005