Creating a WimHandle

Feb 15, 2014 at 6:03 AM
Hey guys, I must be looking at this wrong, but I'm having a devil of a time figuring out how to apply a WIM file that's already on disk. to call ApplyImage(), you have to pass it a WimHandle, but I can't see how to get a WimHandle, the class doesn't seem to have a defined constuctor, and I can't cast a SafeFileHandle to WimHandle. I feel like an idiot for not being able to follow this, but can you show me the way?
Coordinator
Feb 15, 2014 at 8:38 PM
I've typed up an example here: Apply an image