You will need to use the W32api functions same as with any other non-Windows-framework language. I posted a link to the documentation for them in another thread of yours.