Share via


IMessenger::ReceiveFileDirectory property

[ReceiveFileDirectory is no longer available for use as of Windows Vista. See Windows Messenger for more information.]

Retrieves the local path to the directory currently being used to store any files received through file transfer.

This property is read-only.

Syntax

HRESULT get_ReceiveFileDirectory(
  [out, retval] BSTR *bstrPath
);

Property value

Return value. Pointer to a BSTR that contains the path to the directory being used to write files sent by file transfer.

Error codes

Returns one of the following values.

Name Meaning
S_OK
Success.
E_OUTOFMEMORY
String comparison failed because the system could not allocate enough memory to create a new BSTR.
E_NOTIMPL
Cannot be called from script
PRC_X_NULL_REF_POINTER
bstrPathis a NULL pointer.

Remarks

This value can be changed from the default by a client user option.

Note

This property is not available for scripting languages.

Requirements

End of client support
Windows XP
End of server support
Windows Server 2003
Header
Msgrua.h
IDL
Msgrua.idl
DLL
Msgsc.dll

See also

IMessenger

SendFile