unsigned int GetAuxBlock(unsigned char *buffer, unsigned int buffsize, unsigned int waitsec)
{
unsigned int result=0;
__ASM {
push di
les di, buffer
mov cx, buffsize
mov bx, waitsec
mov ah, _BlkGetAux
int _CP_BIOS_INT
jc End
mov result, ax
pop di
}
End:
return(result);
}
unsigned int PutAuxBlock(unsigned char *buffer, unsigned int buffsize)
{
unsigned int result=0;
__ASM {
push di
les di, buffer
mov cx, buffsize
mov ah, _BlkPutAux
int _CP_BIOS_INT
pop di
mov result, ax
}
return(result);
}