Rev 2987 | Rev 3232 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2987 | Rev 2989 | ||
---|---|---|---|
Line 4538... | Line 4538... | ||
4538 | Returned value: |
4538 | Returned value: |
4539 | * eax = 0 - success |
4539 | * eax = 0 - success |
4540 | * eax = 1 - buffer is full |
4540 | * eax = 1 - buffer is full |
Line 4541... | Line 4541... | ||
4541 | 4541 | ||
- | 4542 | ====================================================================== |
|
- | 4543 | ===================== Function 73 - blit bitmap ===================== |
|
- | 4544 | ====================================================================== |
|
- | 4545 | ||
- | 4546 | Parameters: |
|
- | 4547 | * eax = 73 - function number |
|
- | 4548 | ||
- | 4549 | * ebx = ROP and optional flags |
|
- | 4550 | 31 6 5 4 3 0 |
|
- | 4551 | [ reserved ][T][B][ROP] |
|
- | 4552 | ROP - raster operation code |
|
- | 4553 | 0: Copy |
|
- | 4554 | 1-15: reserved |
|
- | 4555 | B - blit into the background surface |
|
- | 4556 | T - transparent blit |
|
- | 4557 | ||
- | 4558 | * ecx = pointer to the function parametrs |
|
- | 4559 | destination offset and clipping |
|
- | 4560 | +0 signed dword: destination rectangle X offset from the window |
|
- | 4561 | top-left corner |
|
- | 4562 | +4 signed dword: destination rectangle Y offset from the window |
|
- | 4563 | top-left corner |
|
- | 4564 | +8 dword: destination rectangle width |
|
- | 4565 | +12 dword: destination rectangle height |
|
- | 4566 | ||
- | 4567 | source offset and clipping |
|
- | 4568 | +16 signed dword: source rectangle X offset from the bitmap top-left corner |
|
- | 4569 | +20 signed dword: source rectangle Y offset from the bitmap top-left corner |
|
- | 4570 | +24 dword: source rectangle width |
|
- | 4571 | +28 dword: source rectangle height |
|
- | 4572 | ||
- | 4573 | +32: dword: size of the bitmap row in bytes |
|
- | 4574 | +36: dword: bitmap data - must be 32bpp |
|
- | 4575 | ||
- | 4576 | Returned value: |
|
- | 4577 | * function does not return value |
|
- | 4578 | ||
- | 4579 | ||
4542 | ====================================================================== |
4580 | ====================================================================== |
4543 | =============== Function -1 - terminate thread/process =============== |
4581 | =============== Function -1 - terminate thread/process =============== |
4544 | ====================================================================== |
4582 | ====================================================================== |
4545 | Parameters: |
4583 | Parameters: |
4546 | * eax = -1 - function number |
4584 | * eax = -1 - function number |
Line 4552... | Line 4590... | ||
4552 | * If the current thread is last in the process, its termination |
4590 | * If the current thread is last in the process, its termination |
4553 | also results in process terminates. |
4591 | also results in process terminates. |
4554 | * This function terminates the current thread. Other thread can be |
4592 | * This function terminates the current thread. Other thread can be |
4555 | killed by call to subfunction 2 of function 18. |
4593 | killed by call to subfunction 2 of function 18. |
Line -... | Line 4594... | ||
- | 4594 | ||
4556 | 4595 | ||
4557 | ====================================================================== |
4596 | ====================================================================== |
4558 | =========================== List of events =========================== |
4597 | =========================== List of events =========================== |
4559 | ====================================================================== |
4598 | ====================================================================== |
4560 | Next event can be retrieved by the call of one from functions 10 |
4599 | Next event can be retrieved by the call of one from functions 10 |