⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inetutil.idl

📁 Browser-based (HTTP) file uploading is a great way to transfer arbitrary files from a client machine
💻 IDL
字号:
// INetUtil.idl : IDL source for INetUtil.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(765F26CA-DF06-4907-9FBB-512704F9499D),
		dual,
		helpstring("IUploader Interface"),
		pointer_default(unique)
	]
	interface IUploader : IDispatch
	{
		[id(1), helpstring("method StartUpload")] HRESULT StartUpload([in]IUnknown* pIUnk);
		[id(2), helpstring("method SetDestinationPath")] HRESULT SetDestinationPath([in] BSTR bsPath);
		[id(3), helpstring("method GetError")] HRESULT GetError([in] long lError, [out, retval] BSTR* psReturn);
		[id(4), helpstring("method SetMaxFileSize")] HRESULT SetMaxFileSize([in] long lSize);
		[id(5), helpstring("method GetFormValue")] HRESULT GetFormValue([in] BSTR bsFieldName, [out, retval] BSTR* psReturn);
		[id(6), helpstring("method UploadFile")] HRESULT UploadFile([in] BSTR bsFieldName, [out, retval] long* plResult);
		[id(7), helpstring("method SetAllowedExtensions"), vararg] HRESULT SetAllowedExtensions([in] SAFEARRAY(VARIANT) FileExtensions);
		[id(8), helpstring("method SetForbiddenExtensions"), vararg] HRESULT SetForbiddenExtensions([in] SAFEARRAY(VARIANT) FileExtensions);
		[id(9), helpstring("method GetUploadFilename")] HRESULT GetUploadFilename([in] BSTR bsField, [out, retval] BSTR* pbsFilename);
	};

[
	uuid(D9040CA1-69BD-4A5A-8920-07DFAB41F8B0),
	version(1.0),
	helpstring("INetUtil 1.0 Type Library")
]
library INETUTILLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(12EFE37D-15DD-407D-B5C0-9AFA40682363),
		helpstring("Uploader Class")
	]
	coclass Uploader
	{
		[default] interface IUploader;
	};
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -