-

+; "...\\\";
.(" !") .


:





:      |   |   | 


: 12.01.11.

(* , Windows. [WIN] ( "") . , , . *)
+;

  ;


  =
    :;
    :;
    w:;
    l:;
    :;
    : x,y: ;
  ;
  = (l:; w:; :):; (* *)
  =
    :;
    :;
    :;
    :;
    :.;
  ;


  :;
  :; :;

(:):; "GetModuleHandleW" "kernel32";
(:; :; ,:):; "SetWindowsHookExW" "user32";
(:; :; w:; l:):; "CallNextHookEx" "user32";
(-:; :; ,:):; "GetMessageW" "user32";
():; "GetForegroundWindow" "user32";
(:; :.):; "GetWindowThreadProcessId" "user32";
(:):; "GetKeyboardLayout" "user32";
(-:; :):; "LoadKeyboardLayoutW" "user32";
(:; :; w:; l:); "SendMessageW" "user32";

;

  = 4190419H; = "00000419";
  = 4090409H; = "00000409";

  : 10H ;
  ,,,:;

  :=();
  :=(, 0);
  :=();
  = :=(,0)
  = :=(,0)
  :=(, 0) ;
  (,50H,1,)
;

(l:; w:; :):;

  : ;

  # 0 (0, , w, l)
    := .(, l);
    (. = 5BH) (w = 100H)
      ; 1
    ;
    (0, , w, l)
 
;


  :=(13, , (0), 0);
  :=(,0,0,0)

.
    .