C language function:GetCurrentActCtx sample codes

Search sample code in the internet.It is the result.


TITLE : Using the Activation Context API (Windows)
if (GetCurrentActCtx(&hActCtx)) {.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa374158(v=vs.85).aspx


TITLE : Using the Activation Context API (Windows)
BOOL GetCurrentActCtx(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa375152(v=vs.85).aspx
TITLE : Using the Activation Context API (Windows)
GetCurrentActCtx(&ActCtx);.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa376620(v=vs.85).aspx
TITLE : c++ - Win32. Enable visual styles in dll - Stack Overflow
And I've got my message box but without visual styles. As far as I understand I should activate context when my dll is invoked but MSDN has no examples how to do it. Could you please give me such example or at least explain what is going on in more details? Because I can't even understand why function BOOL GetCurrentActCtx(_Out_ HANDLE *lphActCtx); receives pointer to ACTCTX but has signature with some HANDLE type........
http://stackoverflow.com/questions/25267272/win32-enable-visual-styles-in-dll
search Google

https://www.google.com/#q=GetCurrentActCtx