Win APIs on windows 8

Dear Experts,

I'm doing my migration of my own coding application (C++) from Win XP to Win 8.
I'm concerning the Win APIs compatibility.
The main question is "Will my used API work well on Win 8 as same as it used to do on Win XP".

I found that, in Win XP (C:\Windos\System32\) there's some dll like user32.dll, kernel32.dll,....
But in windows 8 (C:\Windows\System32), there're:
   +  not only user32.dll and kernel32.dll
   +  but also api-ms-win-....dll and \downlevel\api-ms-win-....dll (such as api-ms-win-core-heap-l1-1-0.dll)
So, please explain me,
   +  What's api-ms-win-....dll stand for?
   +  Does this make any trouble to compatibility of Win APIs.

Regarding your soon responses.
With best regards.
DreamSAAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jkrCommented:
>>The main question is "Will my used API work well on Win 8 as same as it used to do on Win
>>XP".

The answer is both "Yes" and "No". As with your other Q, the API calls will behave the same, yet the result might be different regarding file system and registry virtualization and UAC as mentioned in http://www.codeproject.com/Articles/17968/Making-Your-Application-UAC-Aware ("Making Your Application UAC Aware" - I know I posted that in your last question as well, just to be complete).

The "api-ms-win[...].dll" things that you see are new to W8, yet nothing else but helpers - see http://msdn.microsoft.com/en-us/library/windows/desktop/Hh802935%28v=vs.85%29.aspx ("Windows API Sets"):

API Sets are strongly named API contracts that provide architectural separation between an API contract and the associated host (DLL) implementation. API Sets rely on operating system support in the library loader to effectively introduce a namespace redirection component to the library binding process. Subject to various inputs, including the API Set name and the binding (import) context, the library loader performs a runtime redirection of the reference to a target host binary that houses the appropriate implementation of the API Set.

So, these are basically helpers to nake it easier for your app to end up at the set of functions that they want, yet no change in functionality will occur, especially for binaries compiled for earlier versions.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 8

From novice to tech pro — start learning today.