PDA

View Full Version : Entry Points



adamdelves
01-10-2002, 11:13 PM
Does anyone know how to find the entry points for DLL files such as shell32.dll etc.

msearly
01-11-2002, 04:05 PM
I don't know what you mean by "Entry POints", but I know of functions inside dll files.

You can test these by clicking on start & Run and typing the following...

Here are a few:

Task: Add A New Printer
Command Line: Rundll32.exe Shell32.dll,SHHelpShortcuts_RunnDLLAddPRinter

Task: Copy a floppy disk
Command Line: Rundll32.exe diskcopy.dll,DiskCopyRunDll

TASK: Disable Mouse
COMMAND LINE: Rundll32.exe MOUSE,Disable

TASK: Disable Keyboard
COMMAND LINE: Rundll32.exe KEYBOARD,Disable

TASK: Format a Disk
COMMAND LINE: Rundll32.exe Shell32.dll,SHFormatDrive

TASK: Rebbot
COMMAND LINE: Rundll32.exe Shell32.dll,SHExitWindowsEx 2

TASK: Open With...
COMMAND LINE: Rundll32.exe Shell32.dll,OpenAs_RunDLL "extension"

TASK: Refresh
COMMAND LINE: RunDll32.exe User.dll,repaintscreen

Hope This helps,
Matt Early


System Administrator
Prince Edward County Public Schools
Farmville, VA

adamdelves
01-11-2002, 04:40 PM
The example of functions you gave in your reply are what i am led to believe are entry points or handels.
You can use the Delcare Function statement in VB to gain access to them:

Private Declare Function SHFormatDrive lib "rundll32" Alias "SHFormatDrive" (argument1, argument2)

I don't know where to find these funcitons however. I don't have any software on my computer that can decode dll's or any documentation about them.