IShellDispatch2 object

Extends the IShellDispatch object with a variety of new functionality.

Note  IShellDispatch2 is implemented and accessed through the Shell object.

Members

The IShellDispatch2 object has these types of members:

Methods

The IShellDispatch2 object has these methods.

MethodDescription
CanStartStopService

Determines if the current user can start and stop the named service.

FindPrinter

Displays the Find Printer dialog box.

GetSystemInformation

Retrieves system information.

IsRestricted

Retrieves a group's restriction setting from the registry.

IsServiceRunning

Returns a value that indicates whether a particular service is running.

ServiceStart

Starts a named service.

ServiceStop

Stops a named service.

ShellExecute

Performs a specified operation on a specified file.

ShowBrowserBar

Displays a browser bar.

 

Remarks

For a discussion of Windows services, see the Services documentation.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shldisp.h

IDL

Shldisp.idl

DLL

Shell32.dll (version 5.0 or later)

See also

Shell Object
IShellDispatch

 

 

Community Additions

ADD
Show:
© 2014 Microsoft