Is there any win32 API to do that? Thanks for your inputs.