Gets the device name.
- Parameters
-
| [in] | device_ref | A 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.
Gets the device type.
- Parameters
-
| [in] | device_ref | A PP_Resource corresponding to a device reference. |
- Returns
- A
PP_DeviceType_Dev value.
Determines if the provided resource is a device reference.
- Parameters
-
| [in] | resource | A 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: