RSS Feed for This PostCurrent Article

Running a DLL Procedure Directly

To run a procedure in a DLL in simple. Just by using rundll32.exe <dll name>, <procedure name>, you can run the procedure. Procedure name is case sensitive.

E.g. to lock your computer, run “rundll32.exe user32.dll,LockWorkStation”

You can also use strings from sysinternals to view the available procedures in the dll.

E.g. for user32.dll, some of the available procedures are

  • LoadKeyboardLayoutW
  • LoadLocalFonts
  • LoadMenuA
  • LoadMenuIndirectA
  • LoadMenuIndirectW
  • LoadMenuW
  • LoadRemoteFonts
  • LoadStringA
  • LoadStringW
  • LockSetForegroundWindow
  • LockWindowStation
  • LockWindowUpdate
  • LockWorkStation
  • LogicalToPhysicalPoint
  • LookupIconIdFromDirectory
  • LookupIconIdFromDirectoryEx
  • MBToWCSEx
  • MB_GetString


Trackback URL


RSS Feed for This PostPost a Comment

CAPTCHA Image
Refresh Image
*