daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Oct 27th, 2017 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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