Returns a list of images that are currently mounted. This function has been superseded by WIMGetMountedImageInfo.
BOOL WINAPI WIMGetMountedImages( PWIM_MOUNT_LIST pMountList, PDWORD pcbMountListLength );
Parameters
pMountList
[in opt] A pointer to a buffer that receives the array of WIM_MOUNT_LIST structures. This parameter can be NULL if the data is not required.
pcbMountListLength
[in out] Pointer to a variable that receives the size of the buffer pointed to by the pMountList parameter, in bytes. When the function returns, this variable contains the size of the data copied to pMountList.
Return Value
If the function succeeds, then the return value is nonzero. If the function fails, then the return value is zero. To obtain extended error information, call the GetLastError function. If the buffer specified by the pcbBufferSize parameter is not large enough to hold the data, the function set LastError to ERROR_INSUFFICIENT_BUFFER and stores the required buffer size in the variable pointed to by pcbBufferSize.