01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Use this function to inspect or change the attributes of a file.<br />

Parameters<br />

AH<br />

AL<br />

CX<br />

0x43<br />

0: get, 1: set<br />

File attributes (bit field):<br />

B0 - Read Only<br />

B1 - Hidden File<br />

B2 - System File<br />

B5 - Archive Flag<br />

DS:DX<br />

Pointer to a null terminated string holding the file path.<br />

Return Value<br />

Comments<br />

Success: Carry flag cleared, file attributes in CX (bit field):<br />

... same flag bits as CX input parameter with additional bits ...<br />

B3 - Volume<br />

B4 - Directory Entry<br />

Failure: Carry flag set, AX holds error code:<br />

AX=1: Invalid function (wrong value in AL)<br />

AX=2: File not found<br />

AX=5: Access denied<br />

Input parameter CX is not used when input parameter AL = 0.<br />

Related Topics<br />

Top of list<br />

Index page<br />

Delete File<br />

Interrupt 0x21 service 0x44: IOCTL, Set/Get Device Information<br />

Parameters<br />

AH<br />

AL<br />

Changes the data that DOS uses to control a device.<br />

0x44<br />

0: Get device data, 1: Set device data<br />

Page 268 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!