2025-04-27 07:49:33 -04:00

46 lines
1.5 KiB
Plaintext

//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1999.
//
// File: ihttpstrm.idl
//
//--------------------------------------------------------------------------
[
uuid(C9012CA8-9410-4c86-9716-A908A04572E4),
version(1.0),
helpstring("DAV IHTTPSTRM Library")
]
library HTTPSTRMAPI
{
#ifndef DO_NO_IMPORTS
import "unknwn.idl";
import "wtypes.idl";
import "objidl.idl";
import "oaidl.idl";
#endif
// ---------------------------------------------------------------------------------------
// IID_IHttpStrm
// ---------------------------------------------------------------------------------------
[
uuid(AF4D9485-3285-405d-A023-E578B9C760CD),
helpstring("HTTP Stream"),
]
interface IHttpStrm: IStream
{
HRESULT Open(LPWSTR pwszPath, // path to file to base stream on
BOOL fDirect, // should we open this in direct mode, or transacted mode?
// must be FALSE for http:// pwszPath
BOOL fDeleteWhenDone, // should we remove this file after closing the stream?
// must be FALSE for http:// pwszPath
BOOL fCreate );
HRESULT SetAuth(LPWSTR pwszUserName,
LPWSTR pwszPassword);
};
};