Jose Manuel Tella Llop escribió en mensaje ...
>Poca ayuda podemos dar. El RUNDLL32, es un programa que no hace nada.
>Realmente lo que hace es poder invovar a "funciones" internas de otros
progr
>amas o DLL's.
>
>Es decir si el porgrama USER32, tiene una rutina (o funcion interna)
llamada
>"pepito" (por ejemplo), y que está pensada para que la invoquen otros
progra
>mas, tambien podremos invocarla osotros, con el RUNDLL32.
>
>Es un programa muy tonto.... Solo sabe llamar a otros...
>
>Un saludo,
>
>--
>Jose Manuel Tella Llop
>MS MVP
>jmt...@compuserve.com
>
>Soporte Técnico de Microsoft :
>http://www.microsoft.com/spain/support/kbsl/defaultie4.asp
>
>
>"Hugo" <andr...@saltel.net> wrote in message
news:u12tF11e$GA.87@cppssbbsa0
>4...
>> Hola Grupo, soy nuevo en este de noticas de Windows98, alguno de ustedes
>> podria decirme donde puedo conseguir la mayor cantidad de información
>> posible sobre como usar el RUNDLL32.EXE.
>>
>> Gracias por sus respuesta, si en algo puedo ayudarles pueden escribirme
qu
>e
>> con gusto si puedo yo les ayudo o por lomenos l consigo algo....
>>
>> --
>>
>> Namor.
>> Hugo Rodriguez
>> Andr...@saltel.net
>>
>>
>
>
Esto no quiere decir que las puedas utilizar, ya que si las funciones tienen
parámetros, no podrás llamarlos con rundll32. Pero siempre podrás hacerte un
programa en C o en VisualBasic para llamarlas.
Toda la documentación viene en las SDK de windows. (en el API de programacio
n de windows).
Un saludo,
--
Jose Manuel Tella Llop
MS MVP
jmt...@compuserve.com
Soporte Técnico de Microsoft :
http://www.microsoft.com/spain/support/kbsl/defaultie4.asp
"Ricardo De Castro A." <deca...@uninet.com.py> wrote in message news:#GPlxc
If$GA.257@cppssbbsa05...
Solo muestra propiedades y entre ellas, Marca, Idioma, etc, pero funciones
no.
Saludos
---
Alejandro Maldonado
al...@yahoo.com
"Jose Manuel Tella Llop" <jmt...@compuserve.com> escribió en el mensaje
news:#vcrfiLf$GA....@cppssbbsa02.microsoft.com...
: Si le dás con el botón derecho y seleccionas "vista previa" a una DLL o a
: > >>
: > >>
: > >
: > >
: >
: >
:
:
Existe otro programa que es el Dependency Walker que vienen con un monton de programas de desarrollo de Microsoft, y creo que tambien viene en el Resource Kit de W98.
Con ese programa, no solo pueden verse las dependencias de un programa o DLL (con respecto a "otras" que llame), sino tambien ver las funciones exportadas.
Un saludo,
--
Jose Manuel Tella Llop
MS MVP
jmt...@compuserve.com
Soporte Técnico de Microsoft :
http://www.microsoft.com/spain/support/kbsl/defaultie4.asp
"Alejandro Maldonado" <al...@yahoo.com> wrote in message news:ej8ZmvWf$GA.62@cppssbbsa05...
http://www.allapi.net/
http://skyscraper.fortunecity.com/transmission/45/api/index.html
http://guille.costasol.net/indice_cf.htm
http://members.xoom.com/KPD_Team/
http://members.xoom.com/_XOOM/KPD_Team/index.html
http://skyscraper.fortunecity.com/transmission/45/api/index.html
http://www.programando.com/visualbasic/crazy/API.htm
http://www.generation.net/~hleboeuf/api.htm
http://www.vb-web-directory.com/tutorial/t_winapi.shtml
http://users.turboline.be/btl10148/apiguide/index.html
| "API de Win32"
| -Guia del programador de Visual Basic
| Daniel Appleman. (ISBN 84-89700-22-2).
Saludos
---
Alejandro Maldonado
al...@yahoo.com
"Jose Manuel Tella Llop" <jmt...@compuserve.com> escribió en el mensaje
news:O8DpVbXf$GA....@cppssbbsa02.microsoft.com...
--
Saludos
by Coded
Saludos
---
Alejandro Maldonado
al...@yahoo.com
"Coded [es]" <c0...@menta.net> escribió en el mensaje
news:utEdL5Xf$GA.274@cppssbbsa04...
: Si mal no recuerdo, la vista previa se puede instalar desde Panel de
: > : >
: > : >
: > :
: > :
: >
: >
:
:
:
Pero en Millennium no existe esa opcion y no me habia fijado hasta ahora....
(me parece que les voy a enviar un "bug" con esto.... No me gusta que le quiten funcionalidades al producto).
Un saludo,
--
Jose Manuel Tella Llop
MS MVP
jmt...@compuserve.com
Soporte Técnico de Microsoft :
http://www.microsoft.com/spain/support/kbsl/defaultie4.asp
"Coded [es]" <c0...@menta.net> wrote in message news:utEdL5Xf$GA.274@cppssbbsa04...
El problema, muchas veces, cuando lo llamamos "a pelo", es saber excatamente en donde reside una funcion del API de windows....
Un saludo,
--
Jose Manuel Tella Llop
MS MVP
jmt...@compuserve.com
Soporte Técnico de Microsoft :
http://www.microsoft.com/spain/support/kbsl/defaultie4.asp
"Alejandro Maldonado" <al...@yahoo.com> wrote in message news:OhLhN#Xf$GA.246@cppssbbsa05...
> Instalado.. aunque no es la informacion esperada, pues no nos muestra todas
> las funciones que se pueden llamar desde un lenguaje.
>
>
>
> Saludos
> ---
> Alejandro Maldonado
> al...@yahoo.com
>
>
>
>
> "Coded [es]" <c0...@menta.net> escribió en el mensaje
> : > : >
> : > : >
> : > :
> : > :
> : >
> : >
> :
> :
> :
>
>
:-)
Saludos
---
Alejandro Maldonado
al...@yahoo.com
"Jose Manuel Tella Llop" <jmt...@compuserve.com> escribió en el mensaje
news:eGeU#9Xf$GA....@cppssbbsa02.microsoft.com...
jeje.... supongo que a nuestro amigo le servirá.
Pero en Millennium no existe esa opcion y no me habia fijado hasta ahora....
(me parece que les voy a enviar un "bug" con esto.... No me gusta que le
quiten funcionalidades al producto).
Un saludo,
--
Jose Manuel Tella Llop
MS MVP
jmt...@compuserve.com
Soporte Técnico de Microsoft :
http://www.microsoft.com/spain/support/kbsl/defaultie4.asp
"Coded [es]" <c0...@menta.net> wrote in message
ExitWindowsEx es una funcion "exportada" de User32.dll pero en la vista
rapida no aparece tal función.
:-)
De cualquier forma para una referencia mas completa se debe seguir como
recomendaste SDK, o alguno de los enlaces que puse con anterioridad.
Saludos
---
Alejandro Maldonado
al...@yahoo.com
"Jose Manuel Tella Llop" <jmt...@compuserve.com> escribió en el mensaje
news:#LDYxAYf$GA....@cppssbbsa02.microsoft.com...
SHExitWindowsEx
Y sí que se ve en User32. (utiliza el exeheader de cualquier herramienta visual y lo verás).
Un saludo,
--
Jose Manuel Tella Llop
MS MVP
jmt...@compuserve.com
Soporte Técnico de Microsoft :
http://www.microsoft.com/spain/support/kbsl/defaultie4.asp
"Alejandro Maldonado" <al...@yahoo.com> wrote in message news:OEMIWHYf$GA.257@cppssbbsa05...
Aquí hay información en inglés, pero no creo que suponga problema alguno su
interpretación. Es posible que algo se repita, ya que la cogí de dos mensajes
del grupo alt.windows98 hace algo más de mes y medio:
From: h31...@aol.com (H313AGF)
Newsgroups: alt.windows98
Subject: Re: *** rundll32 info please ***
Date: 03 Jan 2000 22:10:10 GMT
Just a few here to get you started.
Chris
(I think I got this lot from vbnet)
Control Panel
module: CONTROL.EXE
command: rundll32.exe shell32.dll,Control_RunDLL
result: displays all the Control Panel icons in an Explorer view
----------------------
Accessibility Properties
module: ACCESS.CPL
command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5
result: displays the Accessibility General properties
command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1
result: displays the Accessibility Keyboard properties
command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2
result: displays the Accessibility Sound properties
command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3
result: displays the Accessibility Display properties
command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4
result: displays the Accessibility Mouse properties
-------------------------
Add New Hardware Wizard
module: SYSDM.CPL
command: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl @1
result: runs the Add New Hardware wizard
---------------------------
Add New Printer Wizard
module: SHELL32.DLL
command: rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter
result: runs the Add New Printer wizard
comments: Windows NT, it is possible to bring up a predefined Windows Dialog
box for connecting to a network printer - the ConnectToPrinterDlg API. However,
this dialog is not accessible by Visual Basic programs running under Windows
95. Therefore, you must use a Command line equivalent statement to invoke the
"Add Printer Wizard" under Windows 95 as detailed above. (KB article Q154007)
----------------------------------
Add/Remove Programs Property Page
module: APPWIZ.CPL
command: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,1
result: displays the Install/Uninstall tab selected
command: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2
result: displays the Windows Setup tab selected
command: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3
result: displays the Startup Disk tab selected
-------------------------------
Briefcase
module: SYNCUI.DLL
command: rundll32.exe syncui.dll,Briefcase_Create
result: Creates a new Briefcase on the desktop
-----------------------------------------
Copy Disk Dialog
module: DISKCOPY.DLL
command: rundll32.exe diskcopy.dll,DiskCopyRunDll
result: displays the Copy Disk dialog for removable media
----------------------------------
Create New Shortcut
module: APPWIZ.CPL
command: rundll32.exe apwiz.cpl,NewLinkHere %1
result: Displays the Create New Shortcut dialog. Completing the filename in
the dialog creates a shortcut at the location specified by %1
---------------------------------
Date & Time Properties
module: TIMEDATE.CPL
command: rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,0
result: displays Set Date & Time properties tab
command: rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1
result: displays the Time Zone properties tab
-----------------------------------------
Dial Up Networking (DUN)
module: RNAUI.DLL
command: rundll32.exe rnaui.dll,RnaDial {name of connection to establish}
result: displays the Connect To dialog for the passed connection. If
connected, displays the connection status dialog.
command: rundll32.exe rnaui.dll,RnaWizard
result: displays the Dial Up Networking Connection Wizard
-------------------------------------------
Display Options (Standard Windows Display Property Page*)
module: DESK.CPL
command: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0
result: displays the Background tab selected
command: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1
result: displays the Screen Saver tab selected
command: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2
result: displays the Appearance tab selected
command: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3
result: displays the Settings tab selected
comments: Note: Your video adapter may install other property pages into
DESK.CPL dynamically when selected with its own icon (i.e an ATI or Matrox
control panel icon). Additionally, it also may invoke its own control panel
applet mimicking the Windows display options.
----------------------------------------
Fonts
module: FINDFAST.CPL
command: rundll32.exe shell32.dll,Control_RunDLL findfast.cpl
result: displays the Office FindFast control panel applet (if installed)
---------------------------------------
Fonts
module: SHELL32.DLL
command: rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL FontsFolder
result: displays the Fonts Folder in Explorer view
command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @3
result: Also displays the Fonts Folder in Explorer view
---------------------------------------
Format Drive Dialog (floppy disk only)
module: SHELL32.DLL
command: rundll32.exe shell32.dll,SHFormatDrive
result: displays the floppy disk Format Drive dialog. Causes the Drive A to be
accessed on showing.
-------------------------------------
Game Controllers
module: JOY.CPL
command: rundll32.exe shell32.dll,Control_RunDLL joy.cpl,,0
result: displays the Game Controllers General property page
command: rundll32.exe shell32.dll,Control_RunDLL joy.cpl,,1
result: displays the Game Controllers Advanced property page
---------------------------------------
HTML
module: MSHTML.DLL
command: rundll32.exe mshtml.dll,PrintHTML (HTML doc to print)
result: sends the passed file to the printer
-------------------------------------
Internet Explorer 4 Control Panel
module: INETCPL.CPL
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl
result: displays Internet Properties, General Tab
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,0
result: displays Internet Properties, General Tab (same as above)
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,1
result: displays Internet Properties, Security Tab
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,2
result: displays Internet Properties, Content Tab
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,3
result: displays the Internet Control Panel, Connection Tab
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4
result: displays the Internet Control Panel, Programs Tab
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,5
result: displays the Internet Control Panel, Advanced Tab
-----------------------------------
Joystick Properties (also see Games)
module: JOY.CPL
command: rundll32.exe shell32.dll,Control_RunDLL joy.cpl
result: displays the Joystick property page
-----------------------------------------
Mail and Fax Options
module: MLCFG32.CPL
command: rundll32.exe shell32.dll,Control_RunDLL mlcfg32.cpl
result: displays the Microsoft Exchange Profiles general property page
-------------------------------------
Mail Postoffice Options
module: WGPOCPL.CPL
command: rundll32.exe shell32.dll,Control_RunDLL wgpocpl.cpl
result: displays the Microsoft Postoffice Workgroup Admin property page
-------------------------------
Main Group Options/Properties
module: MAIN.CPL
command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @0
result: displays Mouse Properties
command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @1
result: displays Keyboard Properties, Speed tab
command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @1,,1
result: displays Keyboard Properties, Language tab
command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @1,,2
result: displays Keyboard Properties, General tab
command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @2
result: displays the Printers Folder (including Add Printer)
command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @3
result: displays the Fonts Folder in Explorer view
command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @4
result: displays Power Management Properties
-----------------------------------
Modem
module: MODEM.CPL
command: rundll32.exe shell32.dll,Control_RunDLL modem.cpl,,add
result: Runs the Add New Modem wizard
-----------------------------------
Multimedia & Sound Properties
module: MMSYS.CPL
command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0
result: displays the Multimedia/Audio property page
command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,1
result: displays the Multimedia/Video property page
command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,2
result: displays the Multimedia/MIDI property page
command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,3
result: displays the Multimedia/CD Music property page
command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,4
result: displays the Multimedia/Advanced property page
command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl @1
result: displays the Sound Properties page
-----------------------------------------
Network Properties
module: NETCPL.CPL
command: rundll32.exe shell32.dll,Control_RunDLL netcpl.cpl
result: displays the Networks properties, Configuration tab
-----------------------------------
ODBC32 Data Source Administrator
module: ODBCCP32.CPL
command: rundll32.exe shell32.dll,Control_RunDLL odbccp32.cpl
result: displays the ODBC32 Data Source Administrator properties dialog
-------------------------------------
Open With
module: SHELL32.DLL
command: rundll32.exe shell32.dll,OpenAs_RunDLL {drive:\path\filename}
result: displays the application/file "Open With" dialog
result: passing the full file drive, path and name as a parameter will cause
the dialog to display the line "Click the program you want to use to open the
file '{filename}'".
--------------------------------------
Passwords Properties
module: PASSWORD.CPL
command: rundll32.exe shell32.dll,Control_RunDLL password.cpl
result: displays the Passwords properties, Change Passwords tab
-------------------------------------
Power Management Properties
module: POWERCFG.CPL
command: rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl
result: displays the Power Management properties, Power Schemes tab
-------------------------------------------
Printer
module: SHELL32.DLL
command: rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder
result: displays the Printers Folder (including Add Printer)
command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @2
result: Also displays the Printers Folder (including Add Printer)
-------------------------------------------
Regional Settings
module: INTL.CPL
command: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,0
result: displays the Regional Settings property page
command: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,1
result: displays the Numbers property page
command: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,2
result: displays the Currency property page
command: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,3
result: displays the Time property page
command: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,4
result: displays the Date property page
-------------------------------------------------------
Screen Saver Installation
module: APPWIZ.CPL
command: rundll32.exe desk.cpl,InstallScreenSaver c:\win\system\Flying
Windows.scr
result: Installs the new screen saver and runs the display/screen saver
preview property page
comments: Specify a valid path to the screen saver file to install. If you are
installing a new screen saver, first copy the screen saver file into the
\windows\system folder, then execute the above command. This will install the
specified saver as the current screen saver. It will not copy the file into the
windows\system folder. Replace the string above with the name of your actual
.scr file.
---------------------------------------------------
System Properties
module: SYSDM.CPL
command: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0
result: displays the General property page
command: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,1
result: displays the Device Manager property page
command: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2
result: displays the Hardware Profiles property page
command: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3
result: displays the Performance property page
---------------------------------------------------
Shutdown
module: USER.EXE
command: rundll32.exe user.exe,restartwindows
result: forces Windows to perform a proper shutdown, and restart the computer
command: rundll32.exe user.exe,exitwindows
result: forces Windows to shutdown, and wait either to be turned off, or reset
Thanks to Steve P. for providing these commands
--------------------------------------------------------------------------
------
Telephony Properties
module: TELEPHON.CPL
command: rundll32.exe shell32.dll,Control_RunDLL telephon.cpl users
result: displays the Dialing Properties dialog
--------------------------------------------------
Themes
module: THEMES.CPL
command: rundll32.exe shell32.dll,Control_RunDLL themes.cpl
result: displays the Themes control panel app (if installed)
-----------------------------------
TweakUI
module: TWEAKUI.CPL
command: rundll32.exe shell32.dll,Control_RunDLL tweakui.cpl
result: displays the TweakUI control panel applet (if installed)
-----------------------------------------
Users Properties (Win98)
module: INTECPL.CPL
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl users
result: displays the Multi-User Settings properties dialog
-------------------------------------------------------------------------------
From: Thorsten Matzner <10004...@compuserve.com>
Newsgroups: alt.windows98
Subject: Re: *** rundll32 info please ***
Date: Mon, 03 Jan 2000 23:14:31 +0100
"Peter" <peter_...@ibm.net> wrote:
>Is there a list of commands that can be used after the command rundll32.exe
>? Where can I find it ?
I know of these commands available with RUNDLL and RUNDLL32:
diskcopy,DiskCopyRunDll -> "Copy Disk" dialog box
keyboard,disable -> Disable keyboard (not reversible)
krnl386.exe,exitkernel -> Exit Windows without prompting
mouse,disable -> Disable mouse (not reversible)
msprint2.dll,RUNDLL_PrintTestPage -> Print Printer Test page
rnaui.dll,RnaDial X -> Dial entry X of the Dial-Up Networking, X =
full name of the entry
rnaui.dll,RnaWizard -> Dial-Up Network connection wizard
shell,shellexecute -> Open Explorer window
sysdm.cpl,InstallDevice_Rundll -> Hardware Installation wizard
user,cascadechildwindows -> Cascade all windows
user,repaintscreen -> same as F5 in an Explorer window
user,setcursorpos -> cursor is set to the upper left corner
user,tilechildwindows -> Tile all windows
user,wnetconnectdialog -> Map Network drive
user,wnetdisconnectdialog -> Unmap Network drive
user,ExitWindows -> Exit Windows
user,ExitWindowsExec -> Restart Windows
shell32,Control_RunDLL -> start Control Panel
shell32,Control_RunDLL X -> start applet X of Control Panel
"X" = any CPL filename
shell32,OpenAs_RunDLL -> "Open with" dialog box
shell32,ShellAboutA -> same as Help > About in an Explorer window
shell32,SHExitWindowsEx X -> Exit Windows, where these values apply
for X:
0: Restart Windows shell
1: Exit Windows
2: Reboot PC
4: Close all applications
8: Exit Windows and turn-off ATX-compatible PC
-1: Restart Explorer
To combine actions, add the values.
shell32,SHFormatDrive -> "Format Disk" dialog box
--
(tm)
--
Un saludo.
Ramón Sola (Ex Asterixco, por ahora)
jso...@teleline.es
Málaga (España)
Ahora es más sencillo enviarme correo directamente pinchando simplemente en la
anterior dirección de e-mail.
Jose Manuel Tella Llop <jmt...@compuserve.com> escribió en el mensaje de
noticias #vcrfiLf$GA....@cppssbbsa02.microsoft.com...
Si me he equivocado, por favor, corregidme.
--
Saludos
by Coded
"Alejandro Maldonado" <al...@yahoo.com> escribió en el mensaje
news:OEMIWHYf$GA.257@cppssbbsa05...
Gracias...
Saludos
---
Alejandro Maldonado
al...@yahoo.com
"Ramón Sola" <jso...@teleline.es> escribió en el mensaje
news:#xiZORYf$GA.273@cppssbbsa04...
: Pido disculpas si el mensaje es un poco denso.
:
: --------------------------------------------------------------------------
-----
:
: From: Thorsten Matzner <10004...@compuserve.com>
: > > >>
: > > >>
: > > >
: > > >
: > >
: > >
: >
: >
:
:
:
Vista rapida de Windows no sirve para el proposito.
Saludos
---
Alejandro Maldonado
al...@yahoo.com
"Jose Manuel Tella Llop" <jmt...@compuserve.com> escribió en el mensaje
news:uE$gtJYf$GA....@cppssbbsa02.microsoft.com...
Un saludo,
--
Jose Manuel Tella Llop
MS MVP
jmt...@compuserve.com
Soporte Técnico de Microsoft :
http://www.microsoft.com/spain/support/kbsl/defaultie4.asp
"Coded [es]" <c0...@menta.net> wrote in message news:O7SEfVYf$GA....@cppssbbsa02.microsoft.com...
HOWTO: Enumerate and Run Available Control Panel AppletsID: Q232536 |
This article explains how to extract a list of available Control Panel applets and how to execute them from the command line or from another program.
Rundll32 is a
utility included with Windows 95, Windows 98, Windows NT 4.0, and Windows 2000
that allows you to start a function that is exported from a DLL from a command
line. The Windows Explorer Shell uses RUNDLL32 to call the Control_RunDLL function in Shell32.dll
to start a Control Panel applet. Applications can use the following command line
to start a Control Panel applet:
C:\>rundll32.exe shell32.dll,Control_RunDLL mycontrol.cpl Rundll32.exe Shell32.dll,Control_RunDLL Mycontrol.cpl,My Control
// Control Panel Enumeration
#include <stdio.h>
#include <windows.h>
#include <cpl.h>
int main(int argc, char **argv, char **envp)
{
union {
NEWCPLINFOA NewCplInfoA;
NEWCPLINFOW NewCplInfoW;
} Newcpl;
HINSTANCE hLib; // Library Handle to *.cpl file
APPLET_PROC CplCall; // Pointer to CPlApplet() function
LONG i;
// -------------------
if (!(hLib = LoadLibrary(argv[1])))
return 1;
if (!(CplCall=(APPLET_PROC)GetProcAddress(hLib,"CPlApplet")))
{
FreeLibrary(hLib);
return 2;
}
// -------------------
CplCall(NULL, CPL_INIT,0,0); // Init the *.cpl file
for (i=0;i<CplCall(NULL,CPL_GETCOUNT,0,0);i++)
{
printf("RunDLL32 shell32.dll,Control_RunDLL %s",argv[1]);
Newcpl.NewCplInfoA.dwSize = 0;
Newcpl.NewCplInfoA.dwFlags = 0;
CplCall(NULL,CPL_NEWINQUIRE,i,(long)&Newcpl);
if (Newcpl.NewCplInfoA.dwSize == sizeof(NEWCPLINFOW))
{ // Case #1, CPL_NEWINQUIRE has returned an Unicode String
wprintf(L",%s\n", Newcpl.NewCplInfoW.szName);
}
else
{ // Case #2, CPL_NEWINQUIRE has returned an ANSI String
if (Newcpl.NewCplInfoA.dwSize != sizeof(NEWCPLINFOA))
{
// Case #3, CPL_NEWINQUIRE failed to return a string
// Get the string from the *.cpl Resource instead
CPLINFO CInfo;
CplCall(NULL,CPL_INQUIRE,i,(long)&CInfo);
LoadStringA(hLib,CInfo.idName,
Newcpl.NewCplInfoA.szName,32);
}
printf(",%s\n", Newcpl.NewCplInfoA.szName);
}
} // for
CplCall(NULL,CPL_EXIT,0,0);
// -------------------
FreeLibrary(hLib);
return 0;
}
C:\>for %i in ( c:\winnt\system32\*.cpl ) do @enumcpl %i
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\ups.cpl,&UPS
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\telephon.cpl,Telephony
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\srvmgr.cpl,Ser&ver
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\srvmgr.cpl,Servi&ces
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\srvmgr.cpl,&Devices
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\ncpa.cpl,Network
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\main.cpl,Mouse
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\main.cpl,Keyboard
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\main.cpl,Printers
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\main.cpl,Fonts
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\odbccp32.cpl,OD&BC
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\console.cpl,Console
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\appwiz.cpl,Add/Remove Programs
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\access.cpl,Accessibility Options
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\inetcpl.cpl,Internet
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\DESK.CPL,Display
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\DEVAPPS.CPL,PC Card (PCMCIA)
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\DEVAPPS.CPL,SCSI Adapters
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\DEVAPPS.CPL,Tape Devices
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\INTL.CPL,Regional Settings
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\MMSYS.CPL,Multimedia
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\MMSYS.CPL,Sounds
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\MODEM.CPL,Modems
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\PORTS.CPL,Ports
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\SYSDM.CPL,System
RunDLL32 shell32.dll,Control_RunDLL c:\winnt\system32\TIMEDATE.CPL,Date/Time Any
one of these lines can be executed to start the corresponding Control Panel
applet from the command line.
Q164787 The Windows 95 Rundll and Rundll32 Interface
Q166168 HOWTO: Use RUNDLL32 to Debug Control Panel Applets
Q183106 HOWTO: Debug Control Panel Property Sheet Extensions
Q135068 HOWTO: Start a Control Panel Applet in Windows 95, 98, or WinNT
Q192806 How to Run Control Panel Tools by Typing a Command
Additional query words:
Keywords : kbCPApplet kbDDK kbNTOS kbNTOS400 kbWinOS2000 kbWinOS95 kbWinOS98 kbGrpNTDDK
Version : winnt:4.0
Platform : winnt
Issue type : kbhowto
Last Reviewed: August 18, 1999 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |
|
|
Send feedback to MSDN. Look here for MSDN Online resources. |
Saludos
---
Alejandro Maldonado
al...@yahoo.com
"Coded [es]" <c0...@menta.net> escribió en el mensaje
news:O7SEfVYf$GA....@cppssbbsa02.microsoft.com...
: Tal como ha puesto JMT, yo cuando ejecuto la "Vista rápida" en menú
: >
: >
: >
INFO: The Windows 95 Rundll and Rundll32 InterfaceID: Q164787 |
Windows 95 contains two command-line utility programs named Rundll.exe and Rundll32.exe that allow you to invoke a function exported from a DLL, either 16-bit or 32-bit. However, Rundll and Rundll32 programs do not allow you to call any exported function from any DLL. For example, you can not use these utility programs to call the Win32 API (Application Programming Interface) calls exported from the system DLLs. The programs only allow you to call functions from a DLL that are explicitly written to be called by them. This article provides more details on the use of Rundll and Rundll32 programs under Windows NT and Windows 95. The Rundll and Rundll32 utility programs were originally designed only for internal use at Microsoft. But the functionality provided by them is sufficiently generic that they are now available for general use. Note that Windows NT 4.0 ships only with the Rundll32 utility program and supports only Rundll32.
RUNDLL.EXE <dllname>,<entrypoint> <optional arguments> An
example is as follows:
RUNDLL.EXE SETUPX.DLL,InstallHinfSection 132 C:\WINDOWS\INF\SHELL.INF There
are 3 issues to consider carefully in the above command line:
void FAR PASCAL __loadds
EntryPoint(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow); 32-bit
DLL:
void CALLBACK
EntryPoint(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow); Again,
there are 3 issues to consider with the EntryPoint function:
Q140485 Exporting PASCAL-Like Symbols in 32-bit DLLs
hwnd - window handle that should be used as the owner window for
any windows your DLL creates
hinst - your DLL's instance handle
lpszCmdLine - ASCIIZ command line your DLL should parse
nCmdShow - describes how your DLL's windows should be displayed In
the following example:
RUNDLL.EXE SETUPX.DLL,InstallHinfSection 132 C:\WINDOWS\INF\SHELL.INF Rundll
would call the InstallHinfSection() entrypoint function in Setupx.dll and pass
it the following parameters:
hwnd = (parent window handle)
hinst = HINSTANCE of SETUPX.DLL
lpszCmdLine = "132 C:\WINDOWS\INF\SHELL.INF"
nCmdShow = (whatever the nCmdShow was passed to CreateProcess) Note
that it is the <entrypoint> function (or InstallHinfSection() in the above
example) that has to parse its own command line (the lpszCmdLine parameter
above) and use the individual parameters as necessary. Rundll.exe parses only up
to the optional arguments passed to its command line. The rest of the parsing is
up to the <entrypoint> function.
void CALLBACK
EntryPointW(HWND hwnd, HINSTANCE hinst, LPWSTR lpszCmdLine,
int nCmdShow); This is the same as the ANSI
EntryPoint, except that the lpszCmdLine parameter is now a UNICODE string.
For an example on the usage of Rundll, refer to the following article on how to launch a Control Panel Applet in Windows 95 using the Rundll command line utility:
Q135068 How to Start a Control Panel Applet in Windows 95
Additional query words: win95 tools
Keywords : kbprg kbtool kbusage kbnokeyword kbDLL kbKernBase kbGrpKernBase
Version : winnt:4.0
Platform : winnt
Issue type :
Last Reviewed: October 18, 1999 |
|
|
Send feedback to MSDN. Look here for MSDN Online resources. |
INFO: Setting Control Panel Tools to Start After Unattended SetupID: Q167012 |
As discussed in the Microsoft Windows NT Workstation Deployment Guide,
Unattend.txt and Sysdiff.exe cannot be used to preinstall sound cards and
hardware devices. These devices must be installed after installation has been
completed. To install devices during setup, the commands must be placed in the
Cmdlines.txt file.
However, by using the runonce key in the registry,
you may set up various Control Panel tools so that they will start after the
first time a workstation has logged on so that the administrator may add sound
cards and tape drives. You can also place the entries in the Cmdlines.txt file
so that the desired Control Panel tools will start during the installation of
Windows NT.
For detailed instructions on using the Runonce option, consult the Microsoft Windows NT 4.0 Deployment Guide, Chapter 5, and refer to the section on "Executing a Batch File on First Logon to Customize Windows NT." The Deployment Guide may be viewed from the following Web site:
http://www.microsoft.com/ntworkstation.To have the Multimedia tool under Control Panel automatically start when logging on, place the following line in the runonce key:
"Multimedia"="rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,@0"
"Soundcard"="rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,@0,4"
"SCSI"="rundll32.exe shell32.dll,Control_RunDLL devapps.cpl,@1"
"Tape"="rundll32.exe shell32.dll,Control_RunDLL devapps.cpl,@2"
"Server"="rundll32.exe shell32.dll,Control_RunDLL srvmgr.cpl,@0"
"Services"="rundll32.exe shell32.dll,Control_RunDLL srvmgr.cpl,@1"
"Devices"="rundll32.exe shell32.dll,Control_RunDLL srvmgr.cpl,@2"
"rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,@0,1" Q135068 How to Start a Control Panel Tool in Windows 95For additional information on Windows NT 4.0 deployment/unattended installation, consult the Microsoft Knowledge Base at http://www.microsoft.com/kb and download the Windows NT 4.0 Deployment Guide from http://www.microsoft.com/ntworkstation.
Q158447 How to Run a Program Only Once After Unattended Setup of NT 4.0
Q157361 How to Automatically Log On After an Unattended Setup
Q149648 Description of Control Panel (.cpl) Files
Additional query words: Soundcard sb16 Tapedrive card Unattended Setup
Keywords : kbsetup kbOPK ntsetup ntdriver NTSrvWkst kbSBK
Version : winnt:4.0
Platform : winnt
Issue type : kbinfo
Last Reviewed: September 10, 1999 |
|
|
Send feedback to MSDN. Look here for MSDN Online resources. |
--
Saludos
by Coded
"Alejandro Maldonado" <al...@yahoo.com> escribió en el mensaje
news:#eUTmbYf$GA.288@cppssbbsa04...
> Retiro lo dicho... estaba mirando user32.dll
> aghh!
>
>
> Saludos
> ---
> Alejandro Maldonado
> al...@yahoo.com
>
>
>
>
> "Coded [es]" <c0...@menta.net> escribió en el mensaje
> news:O7SEfVYf$GA....@cppssbbsa02.microsoft.com...
> : Tal como ha puesto JMT, yo cuando ejecuto la "Vista rápida" en menú
> : >
> : >
> : >
>
>
>
Saludos
---
Alejandro Maldonado
al...@yahoo.com
"Jose Manuel Tella Llop" <jmt...@compuserve.com> escribió en el mensaje
news:OUsbacYf$GA...@cppssbbsa02.microsoft.com...
Y en el KB de Microsoft, hay información para aburrir sobre este tema...
INFO: Setting Control Panel Tools to Start After Unattended Setup
ID: Q167012
----------------------------------------------------------------------------
----
The information in this article applies to:
a.. Microsoft Windows NT Workstation version 4.0
b.. Microsoft Windows NT Server version 4.0
----------------------------------------------------------------------------
----
Saludos
Ricardo De Castro
"Alejandro Maldonado" <al...@yahoo.com> escribió en el mensaje
news:O$vm8jXf$GA.273@cppssbbsa05...
> Supongo que Ricardo busca info.. para programar asi es que aui dejo mi
mejor
> compendio sobre API's
>
> http://www.allapi.net/
> http://skyscraper.fortunecity.com/transmission/45/api/index.html
> http://guille.costasol.net/indice_cf.htm
> http://members.xoom.com/KPD_Team/
> http://members.xoom.com/_XOOM/KPD_Team/index.html
> http://skyscraper.fortunecity.com/transmission/45/api/index.html
> http://www.programando.com/visualbasic/crazy/API.htm
> http://www.generation.net/~hleboeuf/api.htm
> http://www.vb-web-directory.com/tutorial/t_winapi.shtml
> http://users.turboline.be/btl10148/apiguide/index.html
>
> | "API de Win32"
> | -Guia del programador de Visual Basic
> | Daniel Appleman. (ISBN 84-89700-22-2).
>
>
>
> Saludos
> ---
> Alejandro Maldonado
> al...@yahoo.com
>
>
>
>
>
>
> "Jose Manuel Tella Llop" <jmt...@compuserve.com> escribió en el mensaje
> news:O8DpVbXf$GA....@cppssbbsa02.microsoft.com...
> Tengo ahora el Millennium y efectivamente, esa opcion no existe. Pero creo
> recordar que en w95 / 98 existía.
>
> Existe otro programa que es el Dependency Walker que vienen con un monton
de
> programas de desarrollo de Microsoft, y creo que tambien viene en el
> Resource Kit de W98.
>
> Con ese programa, no solo pueden verse las dependencias de un programa o
DLL
> (con respecto a "otras" que llame), sino tambien ver las funciones
> exportadas.
>
> Un saludo,
>
> --
> Jose Manuel Tella Llop
> MS MVP
> jmt...@compuserve.com
>
> Soporte Técnico de Microsoft :
> http://www.microsoft.com/spain/support/kbsl/defaultie4.asp
>
>
> "Alejandro Maldonado" <al...@yahoo.com> wrote in message
> news:ej8ZmvWf$GA.62@cppssbbsa05...
> > No puedo hacerlo... no me aparece ninguna opción de vista previa.
> >
> > Solo muestra propiedades y entre ellas, Marca, Idioma, etc, pero
funciones
> > no.
> >
> >
> >
> > Saludos
> > ---
> > Alejandro Maldonado
> > al...@yahoo.com
> >
> >
> >
> >
> > "Jose Manuel Tella Llop" <jmt...@compuserve.com> escribió en el mensaje
> > news:#vcrfiLf$GA....@cppssbbsa02.microsoft.com...
> > : Si le dás con el botón derecho y seleccionas "vista previa" a una DLL
o
> a
> > un
> > : EXE, te mostrará la cabecera del programa y las funciones exportadas
> (que
> > pu
> > : ieden llamarse desde otro programa) que posee.
> > :
> > : Esto no quiere decir que las puedas utilizar, ya que si las funciones
> > tienen
> > : parámetros, no podrás llamarlos con rundll32. Pero siempre podrás
> hacerte
> > un
> > : programa en C o en VisualBasic para llamarlas.
> > :
> > : Toda la documentación viene en las SDK de windows. (en el API de
> > programacio
> > : n de windows).
> > :
> > : Un saludo,
> > :
> > : --
> > : Jose Manuel Tella Llop
> > : MS MVP
> > : jmt...@compuserve.com
> > :
> > : Soporte Técnico de Microsoft :
> > : http://www.microsoft.com/spain/support/kbsl/defaultie4.asp
> > :
> > :
> > : > >Un saludo,
> > : > >
> > : > >--
> > : > >Jose Manuel Tella Llop
> > : > >MS MVP
> > : > >jmt...@compuserve.com
> > : > >
> > : > >Soporte Técnico de Microsoft :
> > : > >http://www.microsoft.com/spain/support/kbsl/defaultie4.asp