Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
PPB_DeviceRef_Dev_0_1 Struct Reference

Public Attributes

PP_Bool(* IsDeviceRef )(PP_Resource resource)
 
PP_DeviceType_Dev(* GetType )(PP_Resource device_ref)
 
struct PP_Var(* GetName )(PP_Resource device_ref)
 

Member Data Documentation

struct PP_Var(* PPB_DeviceRef_Dev_0_1::GetName)(PP_Resource device_ref)

Gets the device name.

Parameters
[in]device_refA PP_Resource corresponding to a device reference.
Returns
A PP_Var of type PP_VARTYPE_STRING containing the name of the device if successful; a PP_Var of type PP_VARTYPE_UNDEFINED if failed.
PP_DeviceType_Dev(* PPB_DeviceRef_Dev_0_1::GetType)(PP_Resource device_ref)

Gets the device type.

Parameters
[in]device_refA PP_Resource corresponding to a device reference.
Returns
A PP_DeviceType_Dev value.
PP_Bool(* PPB_DeviceRef_Dev_0_1::IsDeviceRef)(PP_Resource resource)

Determines if the provided resource is a device reference.

Parameters
[in]resourceA PP_Resource corresponding to a generic resource.
Returns
A PP_Bool that is PP_TRUE if the given resource is a device reference, otherwise PP_FALSE.

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