Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mmioWrite(3mms) — Multimedia Services 2.4B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mmioClose(3mms)

mmioOpen(3mms)

mmioRead(3mms)

mmioWrite(3mms)  —  Subroutines

 
 
 
 

Name

 
mmioWrite --- Write a specified number of bytes to a file
 
 

Syntax

 
 
 

 #include <mme/mme_api.h>
 MMRESULT APIENTRY mmioWrite(HMMIO hmmio,
                            HPSTR pch,
                            LONG cch);
 

 
 
 

Arguments

 
HMMIO hmmio
Specifies the file handle to the file.

 
HPSTR pch
Specifies a pointer to the buffer to be written to the file.

 
LONG cch
Specifies the number of bytes to write to the file.
 
 

Description

 
The mmioWrite function writes a specified number of bytes to a file opened with the mmioOpen function. The current file position is incremented by the number of bytes written. 
 

Extensions

 
None.
 
 

Return Values

 
Returns the number of bytes actually written. If there is an error writing to the file, the return value is -1.
 

See Also

 
 
 
 
 
mmioClose(3mms), mmioOpen(3mms), mmioRead(3mms)
 
 
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026