Share via


IHTTPMailTransport::CommandPUT method

[IHTTPMailTransport::CommandPUT is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Sends the PUT command to the HTTPMail server.

Syntax

HRESULT CommandPUT(
  [in] LPCSTR pszPath,
  [in] LPVOID lpvData,
  [in] ULONG  cbSize,
  [in] DWORD  dwContext
);

Parameters

pszPath [in]

Type: LPCSTR

Specifies an LPCSTR that contains a null-terminated string that is the complete URL under which the entity should be stored.

lpvData [in]

Type: LPVOID

Specifies a LPVOID that contains the data to send to the server.

cbSize [in]

Type: ULONG

Specifies a ULONG that contains the size in bytes of lpvData.

dwContext [in]

Type: DWORD

Currently unused. Should be set to zero.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that pszPath or lpvData is NULL or cbSize is zero.
E_OUTOFMEMORY
Indicates that an attempt to allocate memory failed.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Imnxport.h
IDL
Imnxport.idl
DLL
Inetcomm.dll (version 6.0 or later)