Rev 802 | Rev 923 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 802 | Rev 803 | ||
---|---|---|---|
Line 611... | Line 611... | ||
611 | Takes away the code of the pressed button from the buffer. |
611 | Takes away the code of the pressed button from the buffer. |
612 | Parameters: |
612 | Parameters: |
613 | * eax = 17 - function number |
613 | * eax = 17 - function number |
614 | Returned value: |
614 | Returned value: |
615 | * if the buffer is empty, function returns eax=1 |
615 | * if the buffer is empty, function returns eax=1 |
616 | * if the buffer is not empty, function returns al=0, |
616 | * if the buffer is not empty, function returns: |
617 | high 24 bits of eax contain button identifier (in particular, ah |
617 | high 24 bits of eax contain button identifier (in particular, ah |
618 | contains low byte of the identifier; if all buttons have |
618 | contains low byte of the identifier; if all buttons have |
619 | the identifier less than 256, ah is enough to distinguish). |
619 | the identifier less than 256, ah is enough to distinguish), |
- | 620 | and al contain 0 - if used left mouse button or bit of the used another mouse button |
|
620 | Remarks: |
621 | Remarks: |
621 | * "Buffer" keeps only one button, at pressing the new button the |
622 | * "Buffer" keeps only one button, at pressing the new button the |
622 | information about old is lost. |
623 | information about old is lost. |
623 | * The call of this function by an application with inactive window |
624 | * The call of this function by an application with inactive window |
624 | will return answer "buffer is empty". |
625 | will return answer "buffer is empty". |