WikiPendium

(beta)

Metastatus()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-22-61-246.us-east-2.compute.amazonaws.com

Metastatus()


LONG Metastatus( drive, buffer )

WORD drive;
metastatus_t? *buffer;

Metastatus() reads the status of a MetaDOS device.

Opcode

54 (0x36)

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'.
buffer is a pointer to a 32 bytes buffer, which must be zeroed before calling the function.

Binding

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


Return Value

The LONG value contains a negative error code, or a value with the following bits set:

bit 3 set: media has been changed.

See Also

metastatus_t?

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