Jump to content

CLSID "Shell.Application"(Solved)


Go to solution Solved by Ascend4nt,

Recommended Posts

Posted (edited)

Currently I'm getting CLSID as below...

CLSID clsid;
HRESULT CLSID_ShellApp = CLSIDFromProgID( OLESTR("Shell.Application"), &clsid);

My question is, is there a constant or an already defined value for such a CLSID within C++ VS2010 as there is for CLSID_InternetExplorer;?

I have searched and found nothing, but my search skills are not as wonderful as I'd like.

EDIT:

What I'm attempting to do is, instead of looping through all shell windows to interface with internet explorer, is have an already defined CLSID_xxx or IID_xxx of internet explorer.

EDIT2

Actually, that's just silly I think, it's a shell window and that's that, not given up on a defined CLSID though.

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Posted

I've seen that, but I cannot seen to interface with running instance with it, but only create a new instance.

I'm unsure of one I found Here http://csexwb2.googlecode.com/svn/trunk/General_Classes/Iid_Clsids.cs

Guid IID_TopLevelBrowser = new Guid("4C96BE40-915C-11CF-99D3-00AA004AE837");

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

  • Solution
Posted

CLSID_Shell is declared as {13709620-C279-11CE-A49E-444553540000} in <Shldisp.h>.

You can use 'StringFromCLSID' or 'StringFromGUID2' to get the number.

My contributions:

  Reveal hidden contents

Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFsProcess CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen)Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash Recovery

Wrappers/Modifications of others' contributions:

_DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity)

UDF's added support/programming to:

_ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne)

(All personal code/wrappers centrally located at Ascend4nt's AutoIT Code)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...