Rev 5363 | Rev 9265 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5363 | Rev 8711 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2013-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2013-2015. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 5363 $ |
8 | $Revision: 8711 $ |
9 | 9 | ||
10 | 10 | ||
Line 47... | Line 47... | ||
47 | ;------------------------------------------------------------------------------ |
47 | ;------------------------------------------------------------------------------ |
48 | align 4 |
48 | align 4 |
49 | .2: |
49 | .2: |
50 | dec ebx ; 2 - Write the data to the clipboard |
50 | dec ebx ; 2 - Write the data to the clipboard |
51 | jnz .3 |
51 | jnz .3 |
- | 52 | ||
- | 53 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
- | 54 | stdcall is_region_userspace, edx, ecx |
|
- | 55 | jnz @f |
|
- | 56 | mov eax, -1 |
|
- | 57 | jmp .exit_1 |
|
- | 58 | @@: |
|
- | 59 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
- | 60 | ||
52 | ; check the lock |
61 | ; check the lock |
53 | mov ebx, clipboard_write_lock |
62 | mov ebx, clipboard_write_lock |
54 | xor eax, eax |
63 | xor eax, eax |
55 | cmp [ebx], eax |
64 | cmp [ebx], eax |
56 | jne .exit_2 |
65 | jne .exit_2 |