rename the DwmEnableComposition variable
This commit is contained in:
parent
112794e120
commit
96d42ebc73
|
|
@ -567,9 +567,9 @@ int main (int argc, char* argv[])
|
|||
lib = LoadLibrary("dwmapi.dll");
|
||||
if(lib != 0)
|
||||
{
|
||||
void (WINAPI *DwmEnableComposition) (bool bEnable) = (void (WINAPI *) (bool bEnable)) GetProcAddress(lib, "DwmEnableComposition");
|
||||
if(DwmEnableComposition)
|
||||
DwmEnableComposition(FALSE);
|
||||
void (WINAPI *qDwmEnableComposition) (bool bEnable) = (void (WINAPI *) (bool bEnable)) GetProcAddress(lib, "DwmEnableComposition");
|
||||
if(qDwmEnableComposition)
|
||||
qDwmEnableComposition(FALSE);
|
||||
FreeLibrary(lib);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user