#include "msgina.h"
#include <wingdi.h>
#include <atlbase.h>
#include <atlcom.h>
#include <pseh/pseh2.h>
Go to the source code of this file.
◆ COM_NO_WINDOWS_H
◆ FADE_TIMER_ID
◆ INIT_TIMER_ID
#define INIT_TIMER_ID 0x112233 |
◆ ShellDimScreen()
Definition at line 256 of file dimmedwindow.cpp.
257{
258 CComObject<CDimmedWindow> *pWindow;
259 HRESULT hr = CComObject<CDimmedWindow>::CreateInstance(&pWindow);
261
262 pWindow->WaitForInit();
263
265 {
266 refcount = pWindow->AddRef();
267 while (refcount)
268 refcount = pWindow->Release();
269
271 }
272
274 {
276 *hWindow = pWindow->Wnd();
278 }
280 {
282 refcount = pWindow->AddRef();
283 while (refcount)
284 refcount = pWindow->Release();
285 }
287
289}
#define EXCEPTION_EXECUTE_HANDLER
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
#define _SEH2_EXCEPT(...)
BOOL WINAPI IsWindow(_In_opt_ HWND)
◆ gModule