Udostępnij za pośrednictwem


CInternetFile::Write

Call this member function to write into the given memory, lpvBuf, the specified number of bytes, nCount.

virtual void Write( 
   const void* lpBuf, 
   UINT nCount  
);

Parameters

  • lpBuf
    A pointer to the first byte to be written.

  • nCount
    Specifies the number of bytes to be written.

Remarks

If any error occurs while writing the data, the function throws a CInternetException object describing the error.

Exceptions

This method can throw exceptions of type CInternetException.

Requirements

Header: afxinet.h

See Also

Reference

CInternetFile Class

Hierarchy Chart

Other Resources

CInternetFile Members