INmFt::GetName
Use the GetName method to retrieve the string for the full path of the file.
HRESULT GetName(
BSTR *pbstrName);
Parameters
- pbstrName
[out] Pointer to a location for the full path of the file.
Return Values
NetMeeting client applications can use the SUCCEEDED and FAILED macros in winerror.h to check return values.
Return values can include RPC layer errors or any of the following values:
- S_OK
The name of the file being transferred was retrieved successfully. - E_POINTER
pbstrName is an invalid pointer. - E_FAIL
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, File Transfer Channel Object, File Transfer Channel Object Details