Share via


CopyStgMedium function

Copies the given STGMEDIUM structure.

Syntax

HRESULT CopyStgMedium(
   const STGMEDIUM *pcstgmedSrc,
         STGMEDIUM *pstgmedDest
);

Parameters

  • pcstgmedSrc
    The address of the STGMEDIUM structure to copy.

  • pstgmedDest
    The address of the STGMEDIUM structure in which to store the copy.

Return value

Returns S_OK if successful, or an error value otherwise.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 4.0

Header

Urlmon.h

Library

Urlmon.lib

DLL

Urlmon.dll