Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Interfaces, prefix the name with the module name and a period.
IActiveDesktop (Interfaces)
.
C# Definition:
[ComImport]
[Guid("F490EB00-1240-11D1-9888-006097DEACF9")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IActiveDesktop
{
[PreserveSig]
int ApplyChanges(AD_APPLY dwFlags);
[PreserveSig]
int GetWallpaper([MarshalAs(UnmanagedType.LPWStr)] System.Text.StringBuilder pwszWallpaper,
int cchWallpaper,
int dwReserved);
[PreserveSig]
int SetWallpaper([MarshalAs(UnmanagedType.LPWStr)] string pwszWallpaper, int dwReserved);
[PreserveSig]
int GetWallpaperOptions(ref WALLPAPEROPT pwpo, int dwReserved);
[PreserveSig]
int SetWallpaperOptions([In] ref WALLPAPEROPT pwpo, int dwReserved);
[PreserveSig]
int GetPattern([MarshalAs(UnmanagedType.LPWStr)] System.Text.StringBuilder pwszPattern, int cchPattern, int dwReserved);
[PreserveSig]
int SetPattern([MarshalAs(UnmanagedType.LPWStr)] string pwszPattern, int dwReserved);
[PreserveSig]
int GetDesktopItemOptions(ref COMPONENTSOPT pco, int dwReserved);
[PreserveSig]
int SetDesktopItemOptions([In] ref COMPONENTSOPT pco, int dwReserved);
[PreserveSig]
int AddDesktopItem([In] ref COMPONENT pcomp, int dwReserved);
[PreserveSig]
int AddDesktopItemWithUI(IntPtr hwnd, [In] ref COMPONENT pcomp, DTI_ADTIWUI dwFlags);
[PreserveSig]
int ModifyDesktopItem([In] ref COMPONENT pcomp, COMP_ELEM dwFlags);
[PreserveSig]
int RemoveDesktopItem([In] ref COMPONENT pcomp, int dwReserved);
[PreserveSig]
int GetDesktopItemCount(out int lpiCount, int dwReserved);
[PreserveSig]
int GetDesktopItem(int nComponent, ref COMPONENT pcomp, int dwReserved);
[PreserveSig]
int GetDesktopItemByID(IntPtr dwID, ref COMPONENT pcomp, int dwReserved);
[PreserveSig]
int GenerateDesktopItemHtml([MarshalAs(UnmanagedType.LPWStr)] string pwszFileName, [In] ref COMPONENT pcomp, int dwReserved);
[PreserveSig]
int AddUrl(IntPtr hwnd, [MarshalAs(UnmanagedType.LPWStr)] string pszSource, [In] ref COMPONENT pcomp, ADDURL dwFlags);
[PreserveSig]
int GetDesktopItemBySource([MarshalAs(UnmanagedType.LPWStr)] string pwszSource, ref COMPONENT pcomp, int dwReserved);
}
VB Definition:
<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface IActiveDesktop
TODO
End Interface
User-Defined Types:
None.
Notes:
static readonly Guid CLSID_ActiveDesktop = new Guid("{75048700-EF1F-11D0-9888-006097DEACF9}");
public static IActiveDesktop GetActiveDesktop()
{
Type typeActiveDesktop = Type.GetTypeFromCLSID(CLSID_ActiveDesktop);
return (IActiveDesktop) Activator.CreateInstance(typeActiveDesktop);
}
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.