GetBitmapImageRpcUnlocked

Export the image as a Windows Bitmap (BMP) into a given buffer by means of an unlocked remote procedure call. It lies within the responsibility of the user to ensure that no conflicting accesses can occur.

Syntax

Definition:

HRESULT GetBitmapImageRpcUnlocked(
    ULONGLONG& nBitmapSize,
    PVOID      pDestBuffer,
    ULONG&     nBitmapWidth,
    ULONG&     nBitmapHeight
)

Parameters

Name

Type

Description

nBitmapSize

ULONGLONG&

Maximum buffer size (in) and actual buffer size (out).

pDestBuffer

PVOID

Pointer to the destination buffer.

nBitmapWidth

ULONG&

Desired width or 0 to keep the original width (in) and actual width (out).

nBitmapHeight

ULONG&

Desired height or 0 to keep the original height (in) and actual height (out).

GetBitmapImageRpcUnlocked 1: Return value

HRESULT