Rev 2730 | Rev 3338 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2730 | Rev 3315 | ||
---|---|---|---|
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 parameters |
|
- | 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 |
|
- | 4569 | top-left corner |
|
- | 4570 | +20 signed dword: source rectangle Y offset from the bitmap |
|
- | 4571 | top-left corner |
|
- | 4572 | +24 dword: source rectangle width |
|
- | 4573 | +28 dword: source rectangle height |
|
- | 4574 | ||
- | 4575 | +32: dword: size of the bitmap row in bytes |
|
- | 4576 | +36: dword: bitmap data - must be 32bpp |
|
- | 4577 | ||
- | 4578 | Returned value: |
|
- | 4579 | * function does not return value |
|
- | 4580 | ||
4542 | ====================================================================== |
4581 | ====================================================================== |
4543 | =============== Function -1 - terminate thread/process =============== |
4582 | =============== Function -1 - terminate thread/process =============== |
4544 | ====================================================================== |
4583 | ====================================================================== |
4545 | Parameters: |
4584 | Parameters: |
4546 | * eax = -1 - function number |
4585 | * eax = -1 - function number |