Subversion Repositories Kolibri OS

Rev

Rev 4066 | Rev 4264 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4066 Rev 4199
Line 2409... Line 2409...
2409
  * eax = -1 - error (there is too many threads)
2409
  * eax = -1 - error (there is too many threads)
2410
  * otherwise eax = TID - thread identifier
2410
  * otherwise eax = TID - thread identifier
2411
    
2411
    
Line 2412... Line 2412...
2412
 
2412
 
-
 
2413
======================================================================
-
 
2414
==================== Function 54, subfunction 0 ======================
-
 
2415
============== Get the number of slots in the clipboard. =============
-
 
2416
======================================================================
-
 
2417
Parameters:
-
 
2418
  * eax = 54 - function number
-
 
2419
  * ebx = 0 - subfunction number
-
 
2420
Returned value:
-
 
2421
  * eax = slots in the clipboard
-
 
2422
  * eax = -1 - main list area not found
-
 
2423
 
-
 
2424
======================================================================
-
 
2425
==================== Function 54, subfunction 1 ======================
-
 
2426
================= Read the data from the clipboard. ==================
-
 
2427
======================================================================
-
 
2428
Parameters:
-
 
2429
  * eax = 54 - function number
-
 
2430
  * ebx = 1 - subfunction number
-
 
2431
  * eсx = slot number
-
 
2432
Returned value:
-
 
2433
  * eax = if successful - pointer to a memory with data
-
 
2434
  * eax = 1 - error
-
 
2435
  * eax = -1 - main list area not found
-
 
2436
 
-
 
2437
======================================================================
-
 
2438
==================== Function 54, subfunction 2 ======================
-
 
2439
================= Write the data to the clipboard. ===================
-
 
2440
======================================================================
-
 
2441
Parameters:
-
 
2442
  * eax = 54 - function number
-
 
2443
  * ebx = 2 - subfunction number
-
 
2444
  * eсx = the number of bytes to be copied
-
 
2445
  * edx = a pointer to a buffer for data to be copied
-
 
2446
Returned value:
-
 
2447
  * eax = 0 - success
-
 
2448
  * eax = 1 - error
-
 
2449
  * eax = -1 - main list area not found
-
 
2450
 
-
 
2451
======================================================================
-
 
2452
===================== Function 54, subfunction 3 =====================
-
 
2453
================ Delete the last slot in the clipboard ===============
-
 
2454
======================================================================
-
 
2455
Parameters:
-
 
2456
  * eax = 54 - function number
-
 
2457
  * ebx = 3 - subfunction number
-
 
2458
Returned value:
-
 
2459
  * eax = 0 - success
-
 
2460
  * eax = 1 - error
-
 
2461
  * eax = -1 - main list area not found
-
 
2462
  
-
 
2463
======================================================================
-
 
2464
===================== Function 54, subfunction 4 =====================
-
 
2465
===================== Alarm reset the lock buffer ====================
-
 
2466
======================================================================
-
 
2467
Parameters:
-
 
2468
  * eax = 54 - function number
-
 
2469
  * ebx = 4 - subfunction number
-
 
2470
Returned value:
-
 
2471
  * eax = 0 - success
-
 
2472
  * eax = -1 - main list area not found or no blocking
-
 
2473
Remarks:
-
 
2474
  * Used in exceptional cases, where no responsible or killed
-
 
2475
    application blocked the clipboard operations.
-
 
2476
 
2413
======================================================================
2477
======================================================================
2414
 Function 55, subfunction 55 - begin to play data on built-in speaker.
2478
 Function 55, subfunction 55 - begin to play data on built-in speaker.
2415
======================================================================
2479
======================================================================
2416
Parameters:
2480
Parameters:
2417
  * eax = 55 - function number
2481
  * eax = 55 - function number