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.

Return Value<br />

Comments<br />

DX =0 success AX: 0<br />

DX!=0 failure AX: error code CGI_INVALID_DIR<br />

The string at [DX:SI] is null terminated with a maximum length of 64 characters (not counting the<br />

terminating zero). The root directory is also configurable at the chip.ini file, see ROOTDIR and DRIVE.<br />

Related Topics<br />

Top of list<br />

Index page<br />

CGI_GETROOTDIR API Function<br />

CGI API Error Codes<br />

Interrupt 0xAB service 0x05: CGI_GETROOTDIR, Get Web server's root directory<br />

Parameters<br />

AH<br />

0x05 (= CGI_GETROOTDIR)<br />

Return Value<br />

Comments<br />

DX=0 AX=0 , ES:DI contains pointer to root directory name<br />

The string referenced by [ES:DI] is null terminated and is in the <strong>RTOS</strong>'s data space.<br />

Related Topics<br />

Top of list<br />

Index page<br />

CGI_SETROOTDIR API Function<br />

Interrupt 0xAB service 0x06: CGI_GETMAIN, Get main page name<br />

Parameters<br />

AH<br />

0x06 (= CGI_GETMAIN)<br />

Return Value<br />

Page 361 / 400

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

Saved successfully!

Ooh no, something went wrong!