www.pudn.com > AVIrep.rar > AVI.idl


// AVI.idl : IDL source for AVI.dll 
// 
 
// This file will be processed by the MIDL tool to 
// produce the type library (AVI.tlb) and marshalling code. 
 
import "oaidl.idl"; 
import "ocidl.idl"; 
 
	[ 
		object, 
		uuid(EA6D8483-77A7-11D1-9D80-0000F803224D), 
		dual, 
		helpstring("IXAviPlayer Interface"), 
		pointer_default(unique) 
	] 
	interface IXAviPlayer : IDispatch 
	{ 
		[id(1), helpcontext(01), helpstring("Plays an avi-file out of a resource file.")]  
		HRESULT Play(long hInstance, long hWnd, long ResID, BSTR Title,  
			[defaultvalue(-1)] long Repeat); 
 
		[id(2), helpcontext(02), helpstring("Stops playing.")] HRESULT Stop(); 
		[id(3), helpstring("Maintaining the Caption of the Controls Textfield")] HRESULT SetText(BSTR sText); 
		[id(4), helpstring("Resets the ProgressBar")] HRESULT ResetProgressBar(); 
		[id(5), helpstring("Plays an avi-file out of a resource file.")]  
		HRESULT PlayEx(long hInstance, long hWnd, long ResID, BSTR Title,  
			[defaultvalue(-1)] long Repeat,  
			[defaultvalue(0)] long Width, 
			[defaultvalue(0)] long Height, 
			[defaultvalue(0)] long nTextRows, 
			[defaultvalue(FALSE)] BOOL Progress, 
			[defaultvalue(3)] long HalfLife); 
	}; 
[ 
	uuid(8E423943-763E-11D1-9D7F-0000F803224D), 
	version(1.0), 
	helpfile("Aviplayer.hlp"), 
	helpstring("ADV AVIPlayer 1.0") 
] 
library AVILib 
{ 
	importlib("stdole32.tlb"); 
	importlib("stdole2.tlb"); 
 
	[ 
		uuid(EA6D8484-77A7-11D1-9D80-0000F803224D), 
		helpstring("XAviPlayer Class") 
	] 
	coclass XAviPlayer 
	{ 
		[default] interface IXAviPlayer; 
	}; 
};