IPropertyBag2_Write_Proxy function

Windows Imaging Component (WIC) proxy function for IPropertyBag2::Write.

Syntax

HRESULT IPropertyBag2_Write_Proxy(
  _In_ IPropertyBag2 *THIS_PTR,
  _In_ ULONG         cProperties,
  _In_ PROPBAG2      *ppropBag,
  _In_ VARIANT       *pvarValue
);

Parameters

THIS_PTR [in]

Type: IPropertyBag2*

PARAMDESC

cProperties [in]

Type: ULONG

ppropBag [in]

Type: PROPBAG2*

pvarValue [in]

Type: VARIANT*

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Requirements

Requirement Value
Minimum supported client
Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
DLL
Windowscodecs.dll;
Wincodec.lib