winapi - Using InitiateSystemShutdown() function under C++ and Qt Framework -



winapi - Using InitiateSystemShutdown() function under C++ and Qt Framework -

i utilize initiatesystemshutdown function in c++ mingw.

how can load advapi32.dll , phone call function initiatesystemshutdown?

the requirements section of documentation contains information:

header: winreg.h (include windows.h)

library: advapi32.lib

so must include windows.h have function declared. , must link advapi32.lib have function defined.

c++ winapi mingw

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -