Click here to Skip to main content
12,943,528 members (51,846 online)
Click here to Skip to main content

Stats

81.8K views
2.8K downloads
52 bookmarked
Posted 7 Jun 2006

Using screensavers inside the Windows Media Player

, 15 Jul 2011 CPOL
Wrapping a screensaver inside a WMP visualization plug-in.
SheepWMP.exe
SheepWMP
SheepWMP.NET
Properties
SheepWMP.NET.csproj.user
SheepWMP.Setup
SheepWMP.Setup.vdproj
SheepWMP.def
SheepWMP.rgs
SheepWMP.vcxproj.filters
SheepWMP.vcxproj.user
//------------------------------------------------------------------------------

import "oaidl.idl";
import "ocidl.idl";

//------------------------------------------------------------------------------

[
	object,
	uuid(7DE1529E-8F58-4515-A7FC-3A7BC2F9630D),
	dual,
	helpstring("ISheepWMP Interface"),
	pointer_default(unique)
]

//------------------------------------------------------------------------------

interface ISheepWMP : IDispatch
{
	[propget, id(1), helpstring("property foregroundColor")] HRESULT foregroundColor([out, retval] BSTR *pVal);
	[propput, id(1), helpstring("property foregroundColor")] HRESULT foregroundColor([in] BSTR newVal);
};

//------------------------------------------------------------------------------

[
	uuid(7F617232-AA56-47B4-A8A6-4FBC8185B1C0),
	version(1.0),
	helpstring("SheepWMP 1.0 Type Library")
]

//------------------------------------------------------------------------------

library SHEEPWMPLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(62861803-3C16-491F-856A-E5C9C569B705),
		helpstring("SheepWMP Class")
	]
	coclass SheepWMP
	{
		[default] interface ISheepWMP;
	};
};

//------------------------------------------------------------------------------

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Justin Hallet
Web Developer
Australia Australia
Developing windows applications for over 15 years now starting on Win 3.1 with Object Oriented Pascal, progressed to C++ and OWL, in 1996 switch to MFC and never looked back, now focusing on .NET/Mono.

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170518.1 | Last Updated 15 Jul 2011
Article Copyright 2006 by Justin Hallet
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid