IMAPI record disk fails on windows 10 with error: IMAPI_E_GENERIC

gilt 1 Reputation point
2021-01-03T14:24:49.137+00:00

hi,

I'm trying to run old code that used to burn local disks on windows 10,

the burn keeps failing (same exe use to work on older version of windows)

looking at the code, the function that fails is "RecordDisk" (https://video2.skills-academy.com/en-us/windows/win32/api/imapi/nf-imapi-idiscmaster-recorddisc )

and the error I'm getting is : IMAPI_E_GENERIC

any idea if I need to make any changes in order for this to work on windows 10?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,585 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Joy Qiao 4,891 Reputation points Microsoft Employee
    2021-01-04T02:22:05.297+00:00

    Hi,

    Thank you for coming Microsoft Q&A forum.

    I searched Internet without found any information about IMAPI on Windows 10, even though we could find the file exists in Windows\System 32, but I am not sure if it has been deprecated in Windows 10.

    I would recommend to use Windows 10 build-in tool isoburn.exe. For more information, please refer to:
    How to burn an ISO file from the command prompt in Windows 10

    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    Bests,

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. gilt 1 Reputation point
    2021-01-04T07:23:18.127+00:00

    thank you for the answer.

    I would really like to get an official answer if IMAPI is supported on Windows 10. (or if it has a new version of some sort)

    I got an entire program written with the IMAPI API, so switching to a different tool is not an easy thing to do for me.


  3. gilt 1 Reputation point
    2021-01-05T07:46:44.837+00:00

    thanks, hope someone from the WinAPI team could answer


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.