class CreateBuffer2
Defined at line 223 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/markers.h
Create shared data buffer. Buffer is automatically freed when
all references to `vmo` have been closed. Fails if VMO is not
associated with goldfish heap memory.
Arguments
Refer to `CreateBuffer2Params` for input arguments.
Return value
Error:
- `ZX_ERR_ALREADY_EXISTS` if a buffer or color buffer has
already been created for this VMO.
- `ZX_ERR_INVALID_ARGS` if arguments are invalid.
(see `CreateBuffer2Params`)
`hw_address_page_offset`:
Memory page offset of the buffer's hardware-mapped memory.
For buffers with HOST_VISIBLE memory property bits, this
value is a non-negative integer in [0, 4095]. For
non-HOST_VISIBLE memory, this value is negative.
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal