• 로그인 함 해보끄나?

  • Sarangnamu.net June 17, 2003
    Home Login Profile Study Open Project Q&A Google Code
    Change wallpaper from today screen
    Last Modify : 04 January, 2011(03:00)
    http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesnative/thread/6bb27f46-7232-4322-9236-37b555c0369e?prof=required
        #define WATERMARK_TODAY         1     
        #define WATERMARK_TODAYFULL   2 
        typedef bool (*LPF_SHSetAsWatermark)(HWND hWnd, LPCWSTR lpszFile, int iWhich, DWORD* pdwAlpha);
    
        HMODULE hModule = LoadLibrary(L"aygshell.dll");
        if (hModule)
        {
            LPF_SHSetAsWatermark pSHSetAsWatermark = (LPF_SHSetAsWatermark)GetProcAddress(hModule, (LPCWSTR)169);
            if (pSHSetAsWatermark)
            {            
                DWORD dwAlpha = 0; 
                bool ret = pSHSetAsWatermark( NULL, L"\\My Documents\\내 그림\\Smoke1.jpg",WATERMARK_TODAYFULL, &dwAlpha);           
            }
        }
    

    Comment


    입력하3 1503256764



    Locations of visitors to this page