IXRWriteableBitmap::Lock (Compact 2013)

3/28/2014

This method locks a bitmap so that only the current thread can access it until you call IXRWriteableBitmap::Unlock.

Syntax

virtual HRESULT STDMETHODCALLTYPE Lock() = 0;

Parameters

None.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You can call Lock before you render the bitmap or change its pixels.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRWriteableBitmap