tag_pmp_t Struct Reference
[PMPlib device API]
The root interface for portable media device.
More...
#include <pmp.h>
Data Fields | |
void * | instance |
Pointer for the internal use. | |
uint32_t | ref_count |
Reference counter. | |
uint32_t | flag |
Open flags. | |
pmp_device_information_t | info |
PMP device decription. | |
pmp_music_t * | music |
The pointer to pmp_music_t interface. | |
uint32_t(* | add_ref )(pmp_t *pmp) |
Increment the reference counter. | |
uint32_t(* | release )(pmp_t *pmp) |
Decrement the reference counter. | |
result_t(* | open )(pmp_t *pmp, uint32_t flag) |
Open the PMP device. | |
result_t(* | close )(pmp_t *pmp) |
Close the PMP device. |
Detailed Description
The root interface for portable media device.This structure represents the basic interface that is common to any portal media devices. It defines several member variables and pure virtual functions to access the implementation for the target device. Use pmplib_create() function to obtain the instance suitable for a specific device.
- See also:
- pmplib_create
Definition at line 239 of file pmp.h.
Field Documentation
void* tag_pmp_t::instance |
The documentation for this struct was generated from the following file: