Why can't you use Win32 API for this?

Other than that, can't think of another way; what do you mean by 'preset'? If you are referring to third-part libraries, they'd probably use Win32 API anyway, so I'd say Win32 API could be pretty much unavoidable :?