Share via


INmFt::GetSize

Use the GetSize method to retrieve the number of bytes in the file.

HRESULT GetSize
ULONG *puBytes);

Parameters

  • puBytes
    [out] Pointer to a location for size of the file in bytes.

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 size of the file being transferred was retrieved successfully.
  • E_POINTER
    puBytes is an invalid pointer.

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