Page 20 of 26 FirstFirst ... 1017181920212223 ... LastLast
Results 191 to 200 of 258

Thread: Windows 8 (7955) Findings in M3 Leak

  1. #191
    MDL Senior Member
    Join Date
    15 Apr 2011
    Posts
    281
    Thanks
    41
    Thanked 433 Times in 121 Posts

    Default

    alright this should be straightforward and I just got this window

    from this code
    Code:
    using System;
    using Windows.UI.DirectUI;
    using Windows.UI.DirectUI.Controls;
    
    namespace SimpleTest
    {
    	/// <summary>
    	/// Class with program entry point.
    	/// </summary>
    	internal sealed class Program
    	{
    		/// <summary>
    		/// Program entry point.
    		/// </summary>
    		[STAThread]
    		private static void Main(string[] args)
    		{
    			var app = new Application();
    			app.Activated += (_, ae) => {
    				var page = new UserControl();
    				Application.LoadComponent(page, "MainPage.xaml");
    				ae.Content = page;
    			};
    			app.Run();
    		}
    	
    	}
    }
    and this loose xaml file
    Code:
    <UserControl
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        Width="400" Height="300">
        <Grid x:Name="LayoutRoot" Background="Aqua">
    		<TextBlock>This is an XAML page</TextBlock>
        </Grid>
    </UserControl>

  2. The Following 2 Users Say Thank You to NaiveUser For This Useful Post:

    a9lex3 (11 Jun 2011), bored_neo (11 Jun 2011)

  3. #192
    MDL Novice
    Join Date
    10 Jun 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    So how much of DirectUI is specific to Windows 8? Isn't it the same UI library used by msn messenger etc.?
    eg.
    visualstudiogallery.msdn.microsoft.com/1B69C9FE-E422-4799-9EB5-6AC7034C52E1

    - maverin

  4. #193
    MDL Novice
    Join Date
    12 Jun 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by NaiveUser View Post
    alright this should be straightforward and I just got this window
    Great work NaiveUser. If you felt inclined, could you show us the loaded DLLs in that process using something like Process Explorer (I'd post a link to it but I'm a new user!). I'd be interested what D3D version is being used and if D2D is being loaded too .

    Thanks!

  5. #194
    MDL Novice
    Join Date
    28 Apr 2011
    Posts
    30
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default

    all I can see and read is

    of course, I'm grumpy since its midnight here

  6. #195
    MDL Senior Member
    Join Date
    15 Apr 2011
    Posts
    281
    Thanks
    41
    Thanked 433 Times in 121 Posts

    Default

    HAHAH I just realized that I can actually use async/await in my C# code now ! YEAH !
    and there is System.Runtime.InteropServices.WindowsRuntime namespace inside mscorlib.
    and there is System.Runtime.WindowsRuntime.dll and System.Threading.Tasks.Dataflow.dll, which are new to 4.5.

  7. #196
    MDL Senior Member
    Join Date
    15 Apr 2011
    Posts
    281
    Thanks
    41
    Thanked 433 Times in 121 Posts

    Default

    Quote Originally Posted by maverin View Post
    So how much of DirectUI is specific to Windows 8? Isn't it the same UI library used by msn messenger etc.?
    eg.
    visualstudiogallery.msdn.microsoft.com/1B69C9FE-E422-4799-9EB5-6AC7034C52E1

    - maverin
    well I dont think DirectUI.dll is directly related to the 'DirectUI' in DUI70.DLL/DUSER.DLL now, there is no much clue about the connection btween them. I used to think they are related because of the same name, but it turns out not the case. see the discussions in #166 of this thread.

  8. #197
    MDL Senior Member
    Join Date
    15 Apr 2011
    Posts
    281
    Thanks
    41
    Thanked 433 Times in 121 Posts

    Default

    Quote Originally Posted by jmorrill View Post
    Great work NaiveUser. If you felt inclined, could you show us the loaded DLLs in that process using something like Process Explorer (I'd post a link to it but I'm a new user!). I'd be interested what D3D version is being used and if D2D is being loaded too .

    Thanks!
    OK, this is from Depends http://xs.to/photo/5662 and this is ProcExp

    Code:
    Process: SimpleTest.exe Pid: 2392
    
    Name	Description	Company Name	Version
    advapi32.dll	Advanced Windows 32 Base API	Microsoft Corporation	6.2.7955.0
    apisetschema.dll	ApiSet Schema DLL	Microsoft Corporation	6.2.7955.0
    apphelp.dll	Application Compatibility Client Library	Microsoft Corporation	6.2.7955.0
    apphelp.dll.mui	Application Compatibility Client Library	Microsoft Corporation	6.2.7955.0
    clbcatq.dll	COM+ Configuration Catalog	Microsoft Corporation	2001.12.8885.0
    clr.dll	Microsoft .NET Runtime Common Language Runtime - WorkStation	Microsoft Corporation	4.0.30319.16698
    clrjit.dll	Microsoft .NET Runtime Just-In-Time Compiler	Microsoft Corporation	4.0.30319.16698
    combase.dll	Microsoft COM for Windows	Microsoft Corporation	6.2.7955.0
    cryptbase.dll	Base cryptographic API DLL	Microsoft Corporation	6.2.7955.0
    cryptsp.dll	Cryptographic Service Provider API	Microsoft Corporation	6.2.7955.0
    DirectUI.dll	DirectUI dll	Microsoft Corporation	6.2.7955.0
    dwmapi.dll	Microsoft Desktop Window Manager API	Microsoft Corporation	6.2.7955.0
    gdi32.dll	GDI Client DLL	Microsoft Corporation	6.2.7955.0
    iertutil.dll	Run time utility for Internet Explorer	Microsoft Corporation	9.0.7955.0
    imm32.dll	Multi-User Windows IMM32 API Client DLL	Microsoft Corporation	6.2.7955.0
    IPHLPAPI.DLL	IP Helper API	Microsoft Corporation	6.2.7955.0
    kernel32.dll	Windows NT BASE API Client DLL	Microsoft Corporation	6.2.7955.0
    KernelBase.dll	Windows NT BASE API Client DLL	Microsoft Corporation	6.2.7955.0
    locale.nls			
    lpk.dll	Language Pack	Microsoft Corporation	6.2.7955.0
    mscoree.dll	Microsoft .NET Runtime Execution Engine	Microsoft Corporation	4.0.31106.0
    mscoreei.dll	Microsoft .NET Runtime Execution Engine	Microsoft Corporation	4.0.30319.16698
    mscorlib.ni.dll	Microsoft Common Language Runtime Class Library	Microsoft Corporation	4.0.30319.16698
    msctf.dll	MSCTF Server DLL	Microsoft Corporation	6.2.7955.0
    msimg32.dll	GDIEXT Client DLL	Microsoft Corporation	6.2.7955.0
    msvcr110_clr0400.dll	Microsoft?C Runtime Library	Microsoft Corporation	11.0.40126.0
    msvcrt.dll	Windows NT CRT DLL	Microsoft Corporation	7.0.7955.0
    nlssorting.dll	Microsoft Collation Support	Microsoft Corporation	4.0.30319.16698
    normaliz.dll	Unicode Normalization DLL	Microsoft Corporation	6.2.7955.0
    nsi.dll	NSI User-mode interface DLL	Microsoft Corporation	6.2.7955.0
    ntdll.dll	NT Layer DLL	Microsoft Corporation	6.2.7955.0
    ole32.dll	Microsoft OLE for Windows	Microsoft Corporation	6.2.7955.0
    oleacc.dll	Active Accessibility Core Component	Microsoft Corporation	7.0.7955.0
    oleaccrc.dll	Active Accessibility Resource DLL	Microsoft Corporation	7.0.7955.0
    oleaut32.dll		Microsoft Corporation	6.2.7955.0
    profapi.dll	User Profile Basic API	Microsoft Corporation	6.2.7955.0
    psapi.dll	Process Status Helper	Microsoft Corporation	6.2.7955.0
    rometadata.dll	Microsoft MetaData Library	Microsoft Corporation	4.0.30319.16698
    rpcrt4.dll	Remote Procedure Call Runtime	Microsoft Corporation	6.2.7955.0
    rsaenh.dll	Microsoft Enhanced Cryptographic Provider	Microsoft Corporation	6.2.7955.0
    sechost.dll	Host for SCM/SDDL/LSA Lookup APIs	Microsoft Corporation	6.2.7955.0
    secur32.dll	Security Support Provider Interface	Microsoft Corporation	6.2.7955.0
    shell32.dll	Windows Shell Common Dll	Microsoft Corporation	6.2.7955.0
    shlwapi.dll	Shell Light-weight Utility Library	Microsoft Corporation	6.2.7955.0
    SimpleTest.exe	SimpleTest		1.0.4180.15303
    sortdefault.nlp			
    SortDefault.nls			
    sspicli.dll	Security Support Provider Interface	Microsoft Corporation	6.2.7955.0
    StaticCache.dat			
    UIAutomationCore.dll	Microsoft UI Automation Core	Microsoft Corporation	7.0.7955.0
    urlmon.dll	OLE32 Extensions for Win32	Microsoft Corporation	9.0.7955.0
    user32.dll	Multi-User Windows USER API Client DLL	Microsoft Corporation	6.2.7955.0
    usp10.dll	Uniscribe Unicode script processor	Microsoft Corporation	1.626.7955.0
    uxtheme.dll	Microsoft UxTheme Library	Microsoft Corporation	6.2.7955.0
    verdana.ttf			
    Windows.Foundation.WinMD			
    windows.ui.directui.controls.WinMD			
    windows.ui.directui.data.WinMD			
    windows.ui.directui.input.WinMD			
    windows.ui.directui.media.WinMD			
    windows.ui.directui.WinMD			
    wininet.dll	Internet Extensions for Win32	Microsoft Corporation	9.0.7955.0
    winmm.dll	MCI API DLL	Microsoft Corporation	6.2.7955.0
    winmmbase.dll	Base Multimedia Extension API DLL	Microsoft Corporation	6.2.7955.0
    winnsi.dll	Network Store Information RPC interface	Microsoft Corporation	6.2.7955.0
    WinTypes.dll	Windows Base Types DLL	Microsoft Corporation	6.2.7955.0
    ws2_32.dll	Windows Socket 2.0 32-Bit DLL	Microsoft Corporation	6.2.7955.0
    it turns out, no DirectX at all
    BUT, I did see some hint inside the exe about D3D9/DWrite/D2D dlls, and GPU Acceleration, shader compiler etc.

    also, Spy++ indicates there is only on top window here, no HWND inside.

    UPDATE:
    if you add this DWORD value "EnableJupiterCachedComposition" = 1
    inside registry key HKEY_CURRENT_USER\SOFTWARE\Microsoft\DirectUI\ then D3D10warp.dll/D3D9.dll shows up.
    if you add another DWORD value "EnableAcceleratedGraphics" = 1 then D2D1.dll/D3D10_1.dll/D3D10_1core.dll/D3D11.dll/DWrite.dll/DXGI.dll showsup
    Last edited by NaiveUser; 12 Jun 2011 at 10:44 AM.

  9. The Following 2 Users Say Thank You to NaiveUser For This Useful Post:

    a9lex3 (12 Jun 2011), ctxsnstv (12 Jun 2011)

  10. #198
    MDL Novice
    Join Date
    10 Jun 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by NaiveUser View Post
    also, Spy++ indicates there is only on top window here, no HWND inside.
    What about when you call CreateImmersiveWindow - what class is the HWND that creates, any idea? Just wondering if it might offer a clue as to whether this is related to the old DirectUIHWND stuff.

    - maverin

  11. #199
    MDL Novice
    Join Date
    10 Jun 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'll also be interested to see if you can find any kind of references to trident integration in this.. or any HTML DOM references in DirectUI. I'm assuming that Jupiter has a closer integration with HTML than we've heard so far... at least if you were to believe the MS guys giving the demos. Or perhaps the integration is the other way around - that we'll have some proprietary tag in IE10 to include some of this xaml.

    - maverin

  12. #200
    MDL Senior Member
    Join Date
    15 Apr 2011
    Posts
    281
    Thanks
    41
    Thanked 433 Times in 121 Posts

    Default

    Quote Originally Posted by maverin View Post
    What about when you call CreateImmersiveWindow - what class is the HWND that creates, any idea? Just wondering if it might offer a clue as to whether this is related to the old DirectUIHWND stuff.

    - maverin
    the window class name is the second parameter of CreateImmsersiveWindow, I used 'EDIT' in my demo, other apps use their own classes they registered themselves. and I remember I have messed it up with my own WNDCLASSEX, well, maybe I will try that later.

    I think the 'Immersive Window' thing is a low-level Win32 window management concept, and its not related to any specific UI toolkit or framework, to you its just a HWND.

Similar Threads

  1. Replies: 1164
    Last Post: 28 Jul 2011, 08:12 AM
  2. Replies: 338
    Last Post: 13 May 2011, 11:03 PM
  3. Findings in the M1 7850 leak
    By NaiveUser in forum Windows 8
    Replies: 379
    Last Post: 25 Apr 2011, 03:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •