2.2.5.10 LocalDeviceCallback_OnSurfacePoolAllocation

The LocalDeviceCallback_OnSurfacePoolAllocation message notifies the listener that a SurfacePool attempted to allocate storage.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

_size

_msgid

_idObjectSubject

target

idSurfacePool

nResult

_size (4 bytes): An unsigned 32-bit integer. The total message size, in bytes.

_msgid (4 bytes): A signed 32-bit integer. The message ID that is unique to the specific target. The _msgid value is 0x00000000 for this message.

_idObjectSubject (4 bytes): An unsigned 32-bit integer. The ID of the target object.

target (4 bytes): An unsigned 32-bit integer. The ID of the device.

idSurfacePool (4 bytes): An unsigned 32-bit integer. The ID of the SurfacePool.

nResult (4 bytes): A signed 32-bit integer. The result of the attempt to allocate SurfacePool storage. Possible values are described in the following table.

Value

Description

0x00000000

The storage was not allocated.

0x00000001

The storage has been requested.

0x00000002

The storage content cannot be moved.

0x00000003

There is not enough memory available for allocation.