WikiPendium

(beta)

Metaopen()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-145-206-169.us-east-2.compute.amazonaws.com

Metaopen()


LONG Metaopen( drive, metaopen )

WORD drive;
metaopen_t *metaopen;

Metaopen() opens a MetaDOS device.

Opcode

49 (0x31)

Availability

A MetaDOS driver must be installed.

Parameters

drive is the letter of a MetaDOS device, i.e. the ASCII code for any character from 'A' to 'Z'.
metaopen is a pointer to a metaopen_t structure, which will be filled by the function upon return, if successful.

Binding

	pea   metaopen
	move.w   drive,-(sp)
	move.w   #$31,-(sp)
	trap   #14
	addq.l   #8,sp


Return Value

The LONG value contains 0 if the operation was successful, or a negative error code.

See Also

metaopen_t

Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]