IWICBitmap_Lock_Proxy function

Proxy function for the Lock method.

Syntax


HRESULT IWICBitmap_Lock_Proxy(
  _In_        IWICBitmap     *THIS_PTR,
  _In_  const WICRect        *prcLock,
  _In_        DWORD          flags,
  _Out_       IWICBitmapLock **ppILock
);

Parameters

THIS_PTR [in]

Type: IWICBitmap*

Pointer to this IWICBitmap object.

prcLock [in]

Type: const WICRect*

The rectangle to be accessed.

flags [in]

Type: DWORD

The access mode you wish to obtain for the lock.

ppILock [out]

Type: IWICBitmapLock**

A pointer that receives the locked memory location.

Return value

Type: HRESULT

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

Remarks

Requirements

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

 

 

Show: