// NxtLnk.idl : IDL source for NxtLnk.dll
//

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

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

	[
		object,
		uuid(E0049866-0766-11d1-8AAB-00C0F00910F9),
		dual,
		helpstring("INextLink Interface"),
		pointer_default(unique)
	]
	interface INextLink : IDispatch
	{
		//Standard Server Side Component Methods
		[propget, id(1), helpstring("The GetNextURL method retrieves the URL of the next item in the Content Linking List file.")] HRESULT GetNextURL(BSTR, [out, retval] BSTR *pVal);
		[propget, id(2), helpstring("The GetNextDescription method retrieves the text description of the next item in the Content Linking List file.")] HRESULT GetNextDescription(BSTR bstrLinkFile, [out, retval] BSTR *pVal);
		[propget, id(3), helpstring("The GetPreviousURL method returns the URL of the previous item in the Content Linking List file.")] HRESULT GetPreviousURL(BSTR bstrLinkFile, [out, retval] BSTR *pVal);
		[propget, id(4), helpstring("The GetPreviousDescription method retrieves a text description of the previous item in the Content Linking List file.")] HRESULT GetPreviousDescription(BSTR bstrLinkFile, [out, retval] BSTR *pVal);
		[propget, id(5), helpstring("The GetNthURL method returns the URL of the Nth item in the Content Linking List file.")] HRESULT GetNthURL(BSTR bstrLinkFile, int nIndex, [out, retval] BSTR *pVal);
		[propget, id(6), helpstring("The GetNthDescription method retrieves a text description of the Nth item in the Content Linking List file.")] HRESULT GetNthDescription(BSTR bstrLinkFile, int nIndex, [out, retval] BSTR *pVal);
		[propget, id(7), helpstring("The GetListCount method retrieves the total number of Web pages listed in the Content Linking List file.")] HRESULT GetListCount(BSTR bstrLinkFile, [out, retval] int *pVal);
		[propget, id(8), helpstring("The GetListIndex method retrieves the index number of the current item in the Content Linking List file.")] HRESULT GetListIndex(BSTR bstrLinkFile, [out, retval] int *pVal);
		[propget, id(9), helpstring("The About method retrieves build information.")] HRESULT About([out, retval] BSTR *pVal);
	};
[
	uuid(E0049867-0766-11d1-8AAB-00C0F00910F9),
	version(1.0),
	helpstring("MSWC Content Linking Object Library")
]
library NextLink
{
	importlib("stdole2.tlb");

	[
		uuid(4D9E4505-6DE1-11CF-87A7-444553540000),
		helpstring("NextLink Class")
	]
	coclass NextLink
	{
		[default] interface INextLink;
	};
};