Jump to content

How to get a list of currently Mounted Images with WIMGAPI


Recommended Posts

Posted (edited)

Hi,

I've unsuccessfully been looking to find how to get a list of all currently mounted WIM images using the WIMGAPI. I've seen this capability in GimageX Ver 2.0 on the Mount page (see link below), but for the life of me I cant find this capability documented. The command line allows a list of mounted images by entering:

imagex.exe /UNMOUNT <enter>

which produces the following:

ImageX Tool for Windows
Copyrite (c) Microsoft

Listing all mounted images...
1.
Mount Path ....:[c:\winpe\mount]
Image File ....:[c:\winpe\pinepe.wim]
Image Index ...:[1]
Mounted R/W ...:[1]

Number of mounted images: 1

For now I'm redirecting the output of the above to a file and capturing the info into VB, but its a bit of a kludge. Is there an "official" wimgapi.dll way to do it?

TIA & Regards

Vexor

Sources already searched:

GImageX (See 4th image http://www.autoitscript.com/gimagex/)

MSDN

MSFN

Imaging API's for Windows (wimgapi.chm)

Various other web sites and pubic domain code examples.

Edited by Vexor

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...