Pepper_47_C_interfaces
|
#include <ppb_device_ref_dev.h>
Public Attributes | |
PP_Bool(* | IsDeviceRef )(PP_Resource resource) |
PP_DeviceType_Dev(* | GetType )(PP_Resource device_ref) |
struct PP_Var(* | GetName )(PP_Resource device_ref) |
Definition at line 70 of file ppb_device_ref_dev.h.
struct PP_Var(* PPB_DeviceRef_Dev_0_1::GetName)(PP_Resource device_ref) |
Gets the device name.
[in] | device_ref | A PP_Resource corresponding to a device reference. |
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. Definition at line 100 of file ppb_device_ref_dev.h.
PP_DeviceType_Dev(* PPB_DeviceRef_Dev_0_1::GetType)(PP_Resource device_ref) |
Gets the device type.
[in] | device_ref | A PP_Resource corresponding to a device reference. |
PP_DeviceType_Dev
value. Definition at line 89 of file ppb_device_ref_dev.h.
PP_Bool(* PPB_DeviceRef_Dev_0_1::IsDeviceRef)(PP_Resource resource) |
Determines if the provided resource is a device reference.
[in] | resource | A PP_Resource corresponding to a generic resource. |
PP_Bool
that is PP_TRUE
if the given resource is a device reference, otherwise PP_FALSE
. Definition at line 80 of file ppb_device_ref_dev.h.