Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IWICPersistStream::LoadEx method

Loads data from an input stream using the given parameters.

Syntax


HRESULT LoadEx(
  [in]       IStream *pIStream,
  [inconst GUID    *pguidPreferredVendor,
  [in]       DWORD   dwPersistOptions
);

Parameters

pIStream [in]

Type: IStream*

Pointer to the input stream.

pguidPreferredVendor [in]

Type: const GUID*

Pointer to the GUID of the preferred vendor .

dwPersistOptions [in]

Type: DWORD

The WICPersistOptions used to load the stream.

Return value

Type: HRESULT

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

Remarks

NULL can be passed in for pguidPreferredVendor to indicate no preference.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps | UWP apps]

Minimum supported server

Windows Server 2008 [desktop apps | UWP apps]

Header

Wincodecsdk.h

IDL

Wincodecsdk.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

 

 

Show:
© 2018 Microsoft