The Windows API is exposed strictly as a C interface. There are no namespaces in C. If you need to access an API you have to:
- Include the appropriate header file that declares the function.
- Link to the import library that implements it.
The documentation tells you both which header to include as well as which library to link against (if any).
Update (after the question has been altered):
From a comment of yours it appears, that you are asking, whether some of the Windows API implementations use namespaces internally. Well, I don't know, and I don't care. And neither do you. Regardless of the answer, there is nothing you could do with that information.
Let's assume for a moment, that kernel32.dll were implemented in C++, and uses namespaces. To sustain a C interface, none of the namespace information can appear at the API surface. This leaves namespaces for internal use only. If they are used internally, all traces of namespaces are lost, once the linker has resolved the symbols. (The symbols may appear in private debugging symbols, or even public debugging symbols, and in string literals used for RTTI. None of these allow you to do anything meaningful, other than looking at them.)