Click here to Skip to main content
15,894,017 members
Articles / Desktop Programming / ATL

An Asynchronous Pluggable Protocol Handler for data: URLs

Rate me:
Please Sign up or sign in to vote.
4.76/5 (21 votes)
28 Jan 2006CPOL5 min read 162.8K   2K   60  
This article describes an asynchronous pluggable protocol implementation to support the data: protocol, as described in RFC 2397, in Internet Explorer.
// DataProtocol.idl : IDL source for DataProtocol
//

// This file will be processed by the MIDL tool to
// produce the type library (DataProtocol.tlb) and marshalling code.

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

[
	object,
	uuid(0DABB5E2-1147-4C66-9AF0-6220D71821F5),
	helpstring("IDataPluggableProtocol Interface"),
	pointer_default(unique)
]
interface IDataPluggableProtocol : IUnknown{
};
[
	uuid(E2301460-B672-4D33-9D4E-A2B1570CD8EE),
	version(1.0),
	helpstring("DataProtocol 1.0 Type Library")
]
library DataProtocolLib
{
	importlib("stdole2.tlb");
	[
		uuid(C79BF22F-25C4-4D3D-8183-14149EAB9C0C),
		helpstring("Data Pluggable Protocol")
	]
	coclass DataPluggableProtocol
	{
		[default] interface IDataPluggableProtocol;
	};
};

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)


Written By
Architect
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions