#Where can I find documentation on interacting with winapi using C?

12 messages · Page 1 of 1 (latest)

lost walrus
#

I want to make programs interacting with windows operating system using C but everytime I look for documentation I end up coming across a million documents on how to program windows with c++ and none on C. Can anyone point me in the right direction? I have no interest in using c++ because I'm trying to learn C. But there seems to be nothing on how to use winAPI with C even though I know that I can use the winapi.h header in C.

primal lavaBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

gritty skiff
#

msdn

lost walrus
gritty skiff
#

winapi is documented there

#

some examples may be in C++, but that is the official API documentation

shell flame
#

It says C++, but unless I missed something, this code looks 100% C to me.
It's a good starting point I think.

alpine lark
#

You can usually convert C++ to C , since all of the windows API is just C functions with generic calling conventions.

#

look up certain header files they reference and look up functions and structs there.

primal lavaBOT
#

This question is being automatically marked as stale.
If your question has been answered, run !solved.
If your question is not answered feel free to bump the post or re-ask.
Take a look at !howto ask for tips on improving your question.

worldly plume
#

!solved