Looking for function to resolve VirtualStore paths to physical paths

Discussion in 'Windows Vista File Management' started by Scott, May 25, 2007.

  1. Scott

    Scott Guest

    I'm working on ensuring compatibility with some legacy applications. I
    need an API function that maps a (possibly virtual) path into a
    physical path.

    For example,

    c:\program files\foo\download ---> c:\users\myusername\appdata\local
    \virtualstore\program files\foo\download

    Does Vista provide an API for retreiving these mappings? Is there a
    way to determine whether a given path is virtual of physical?

    Thanks,
    Scott
     
    Scott, May 25, 2007
    #1
    1. Advertisements

  2. Hi Scott

    These Vista.public groups are focused on the end user. There is a very good
    resource for developers on the MSDN forums. These forums are staffed by
    Microsoft Developers and they are focused on problems with developing
    applications for Vista. You can access them here:

    MSDN Forums: Software Development for Vista
    http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=24&SiteID=1
     
    Ronnie Vernon MVP, May 25, 2007
    #2
    1. Advertisements

  3. Scott

    Scott Guest

    These Vista.public groups are focused on the end user. There is a very good
    I gave it a shot there too, but nobody ever replied. So I guess:

    1) Microsoft never implemented a function to resolve these
    virtualizations

    or

    2) Microsoft did, but nobody knows what it is

    Is there any sort of "Windows Vista Internals" book? I seem to
    remember such things existed for XP and covered hidden facets of the
    operating system such as the process tables, etc.

    Scott
     
    Scott, May 31, 2007
    #3
  4. Scott

    Sorry you didn't get a reply there, they are usually good about responding
    quickly.

    Here are a few more links that should help.

    The Windows Vista Developer Story: Windows Vista Application Development
    Requirements for User Account Control (UAC):
    http://tinyurl.com/2tlscg

    Download details: Windows Vista Application Development Requirements for
    User Account Control Compatibility:
    http://tinyurl.com/2pf8n3

    Secure It:
    http://tinyurl.com/2o77lf

    Developing Applications that Run at Logon on Windows Vista:
    http://tinyurl.com/37bo6p

    User Account Control Overview:
    http://tinyurl.com/37jxuh
     
    Ronnie Vernon MVP, May 31, 2007
    #4
  5. The general idea is:
    Virtualization of files are implemented with a Mini-File-System-Filter
    driver.
    Virtualization of registry is implemeted with internal KEY properties.
    The mandatory integrity labels set on the token triggers the whole process.

    Why is reversing virtualization interesting ?
     
    Ivan Brugiolo [MSFT], Jun 2, 2007
    #5
  6. Ivan Brugiolo [MSFT], Jun 2, 2007
    #6
  7. Scott

    GWL Guest

    I too am having keyboard/mouse lock ups for no apparent reason and I am sure
    Vista has some blame. But I am not ready to rule out Motherboard problems or
    for that matter Bios problems just yet. I can remember when XP first came
    out and I had to update bios twice before hardware conflicts were resolved.
    I know that at least one of my problems is related to bios because my
    keyboard (USB) will not function if a PS/2 mouse is plugged into the
    machine. Nor will a USB mouse work if a PS/2 keyboard is plugged in, all
    before Vista even starts. No problem doing this in XP.

    GWL
     
    GWL, Jun 2, 2007
    #7
  8. I don't suppose that forum is published as a newsgroup? Compared to
    accessing the posts here, I find reading them in a web browser to be a huge
    pia.
     
    Paul Pedersen, Jul 8, 2007
    #8
  9. Paul

    Unfortunately, I don't think those particular groups have an NNTP mirror? If
    you have an MSDN subscription, there are the MSDN managed newsgroups.
     
    Ronnie Vernon MVP, Jul 8, 2007
    #9
  10. Scott

    Gary Chanson Guest

    Tell that to Microsoft! We keep telling them that, but it would help
    for them to hear it from end users as well.
     
    Gary Chanson, Jul 8, 2007
    #10
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.