Method

PhocDesktopfind_output

Declaration [src]

PhocOutput*
phoc_desktop_find_output (
  PhocDesktop* self,
  const char* make,
  const char* model,
  const char* serial
)

Description [src]

Find an output by make, model and serial.

Parameters

make

Type: const char*

The output’s make / vendor.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
model

Type: const char*

The output’s model / product.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
serial

Type: const char*

The output’s serial number.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: PhocOutput

The matching output or NULL if no output matches.

The returned data is owned by the instance.
The return value can be NULL.