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

WriteMemory(D3pccard)


WriteMemory -- write to a memory PC card device

Synopsis (Unsupported service)

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

int CardServices (WriteMemory, MemoryHandle_t *cmh, int n1, int WriteMemoryLen, WriteMemory_t *mw, rm_key_t key);

Description

WriteMemory( ) is for memory PC Cards. It writes an area of a memory card after it is opened by the OpenMemory(D3pccard) service using members of the WriteMemory_t structure to help gain access to a desired region of memory on a client's card.

Arguments


cmh
Pointer to a MemoryHandle(D4pccard) structure.

n1
Buffer from which the data will be read.

WriteMemoryLen
Length of the WriteMemory(D4pccard) structure.

mw
Pointer to WriteMemory(D4pccard) structure that describes the system memory buffer that contains the data to be written to the card.

key
Resource manager key.

Return values


UNSUPPORTED_SERVICE
Service not currently supported.

Usage

The integer type MemoryHandle_t is associated with an MTD. MemoryHandle_t must have been previously returned by the OpenMemory(D3pccard) service.

Context and synchronization

User or initialization context

Hardware applicability

All

Version applicability

pccard: 3

References

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