Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Oct 27th, 2017 90 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. Print setLang($9)
  2. Print getLang()
  3. Print setLang($7)
  4. Print getLang()
  5. Input()
  6.  
  7.  
  8.  
  9. Function setLang%(id%)
  10.     bank = CreateBank(4)
  11.     api_SystemParametersInfo($59,0,bank,0)
  12.     PokeByte(bank,0,id)
  13.     PokeByte(bank,2,id)
  14.     res%=api_SystemParametersInfo($5A,0,bank)
  15.     FreeBank(bank)
  16.     Return(res)
  17. End Function
  18.  
  19. Function getLang%()
  20.     bank = CreateBank(4)
  21.     api_SystemParametersInfo($59,0,bank,0)
  22.     res%=PeekByte(bank,0)
  23.     FreeBank(bank)
  24.     Return(res)
  25. End Function
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top