wisdom
Loading...
Searching...
No Matches
wis::DeviceExtQuery Struct Reference

Detailed Description

Struct used to query the extensions for C code. Queried results should not be freed, their lifetime ends with the Factory they were created with. If wis::DeviceExtQuery::extension_id is 0, wis::DeviceExtQuery::result must be populated with already created extension. Otherwise extension is ignored.

wis::DeviceExtID extension_id;
void* result;
};
DeviceExtID
Device extension ID. Platform extension values start from 2049 0 is reserved as invalid/custom extens...
Definition api.hpp:1254
Struct used to query the extensions for C code. Queried results should not be freed,...
Definition api.hpp:2074

Definition at line 2074 of file api.hpp.

#include <api.hpp>

Public Attributes

wis::DeviceExtID extension_id
 Extension ID.
 
void * result
 Result of the query. Pointer is populated with the extension with queried ID. If the extension is not supported/failed to initialize the result is NULL.
 

Data Members

◆ extension_id

wis::DeviceExtID wis::DeviceExtQuery::extension_id

Extension ID.

Definition at line 2075 of file api.hpp.

◆ result

void* wis::DeviceExtQuery::result

Result of the query. Pointer is populated with the extension with queried ID. If the extension is not supported/failed to initialize the result is NULL.

Definition at line 2081 of file api.hpp.


The documentation for this struct was generated from the following file: