INmChannelFt::SendFile
Use the SendFile method to send a file through the channel to a specified application on the designated member's computer.
HRESULT SendFile(
INmFt **ppFt, INmMember *pMember, BSTR bstrFile, ULONG uOptions);
Parameters
- ppFt
[out] Pointer to a pointer to the INmFt on the File object to be sent. - pMember
[in] Pointer to the INmMember interface on the Member object that will receive the file. This can be NULL if the file is sent to everyone. - bstrFile
[in] The full path of the file to be sent. - uOptions
[in] Reserved for future use. Should be set to 0.
Return Values
NetMeeting client applications can use the SUCCEEDED and FAILED macros in winerror.h to check return values.
Return values can include remote procedure call (RPC) layer errors or any of the following values.
- S_OK
The file has been sent successfully. - E_POINTER
ppFt is an invalid pointer. - E_INVALIDARG
The bstrFile string is invalid, or uOptions contains an invalid option. - E_FAIL
The specified file was not sent, the specified file does not exist, or internal resources are not available. - E_OUTOFMEMORY
Memory could not be allocated to service the request.
Requirements
** Windows NT/2000:** Requires Windows NT 4.0 SP3 or later.
** Windows 95/98:** Requires Windows 95 or later. Available as a redistributable for Windows 95.
** Header:** Imsconf2.idl.
See Also
INmChannelFt, INmChannelFtNotify, File Transfer Channel Object, File Transfer Channel Object Details