| |
[ComImport(),Guid("F490EB00-1240-11D1-9888-006097DEACF9"),InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IActiveDesktop { IntPtr ApplyChanges( int dwFlags ); //HRESULT ApplyChanges(DWORD dwFlags); IntPtr GetWallpaper([MarshalAs(UnmanagedType.LPWStr)]System.Text.StringBuilder pwszWallpaper, int cchWallpaper, int dwReserved ); // HRESULT GetWallpaper(LPWSTR pwszWallpaper,UINT cchWallpaper,DWORD dwReserved);
IntPtr SetWallpaper([MarshalAs(UnmanagedType.LPWStr)]string pwszWallpaper, int dwReserved ); // HRESULT SetWallpaper(LPCWSTR pwszWallpaper,DWORD dwReserved); IntPtr GetWallpaperOptions(ref _win32._tagWALLPAPEROPT pwpo, int dwReserved ); // HRESULT GetWallpaperOptions(LPWALLPAPEROPT pwpo,DWORD dwReserved);
IntPtr SetWallpaperOptions([In] ref _win32._tagWALLPAPEROPT pwpo, int dwReserved ); // HRESULT SetWallpaperOptions(LPCWALLPAPEROPT pwpo,DWORD dwReserved);
IntPtr GetPattern([MarshalAs(UnmanagedType.LPWStr)]System.Text.StringBuilder pwszPattern, int cchPattern, int dwReserved ); //HRESULT GetPattern(LPWSTR pwszPattern,UINT cchPattern,DWORD dwReserved);
IntPtr SetPattern([MarshalAs(UnmanagedType.LPWStr)]string pwszPattern, int dwReserved ); // HRESULT SetPattern(LPCWSTR pwszPattern,DWORD dwReserved);
IntPtr GetDesktopItemOptions(ref _win32._tagCOMPONENTSOPT pco, int dwReserved ); // HRESULT GetDesktopItemOptions(LPCOMPONENTSOPT pco,DWORD dwReserved);
IntPtr SetDesktopItemOptions([In]ref _win32._tagCOMPONENTSOPT pcomp, int dwReserved ); // HRESULT SetDesktopItemOptions(LPCCOMPONENTSOPT pcomp,DWORD dwReserved);
IntPtr AddDesktopItem([In]ref _win32._tagCOMPONENT pcomp, int dwReserved ); // HRESULT AddDesktopItem(LPCOMPONENT pcomp,DWORD dwReserved);
IntPtr AddDesktopItemWithUI( IntPtr hwnd, [In]ref _win32._tagCOMPONENT pcomp, int dwFlags ); // HRESULT AddDesktopItemWithUI(HWND hwnd,LPCOMPONENT pcomp,DWORD dwFlags);
IntPtr ModifyDesktopItem([In]ref _win32._tagCOMPONENT pcomp, int dwFlags ); // HRESULT ModifyDesktopItem(LPCCOMPONENT pcomp,DWORD dwFlags); IntPtr RemoveDesktopItem([In]ref _win32._tagCOMPONENT pcomp, int dwReserved ); // HRESULT RemoveDesktopItem(LPCCOMPONENT pcomp,DWORD dwReserved);
IntPtr GetDesktopItemCount(out int lpiCount, int dwReserved ); // HRESULT GetDesktopItemCount(LPINT lpiCount,DWORD dwReserved);
IntPtr GetDesktopItem( int nComponent, ref _win32._tagCOMPONENT pcomp, int dwReserved ); // HRESULT GetDesktopItem(int nComponent,LPCOMPONENT pcomp,DWORD dwReserved);
IntPtr GetDesktopItemByID( IntPtr dwID, ref _win32._tagCOMPONENT pcomp, int dwReserved ); // HRESULT GetDesktopItemByID(DWORD dwID,LPCOMPONENT pcomp,DWORD dwReserved);
IntPtr GenerateDesktopItemHtml([MarshalAs(UnmanagedType.LPWStr)]string pwszFileName, [In] ref _win32._tagCOMPPOS pcomp, int dwReserved ); // HRESULT GenerateDesktopItemHtml(LPCWSTR pwszFileName,LPCOMPONENT pcomp,DWORD dwReserved);
IntPtr AddUrl( IntPtr hwnd, [MarshalAs(UnmanagedType.LPWStr)] string pszSource, [In] ref _win32._tagCOMPONENT pcomp, int dwFlags ); // HRESULT AddUrl(HWND hwnd,LPCWSTR pszSource,LPCOMPONENT pcomp,DWORD dwFlags);
IntPtr GetDesktopItemBySource([MarshalAs(UnmanagedType.LPWStr)]string pszSource, ref _win32._tagCOMPONENT pcomp, int dwReserved ); // HRESULT GetDesktopItemBySource(LPCWSTR pszSource,LPCOMPONENT pcomp,DWORD dwReserved);
} #endregion
|