#include <revolution/dvd.h>
typedef struct DVDCommandBlock DVDCommandBlock;
struct DVDCommandBlock
{
............
void* userData;
};
Not all structure members are listed. For a complete list, see dvd.h. Do not directly access these members: they are subject to change. Please use the functions DVDGetUserData and DVDSetUserData to access the userData member of this structure.))
The DVDCommandBlock structure is used to allow the DVD library to manage various data. One type is queue management. All DVD commands can be queued; that is, you do not have to wait for the previous request to complete. This queuing feature is implemented by "chaining" together DVDCommandBlock structures. For this reason, another DVD request using a DVDCommandBlock structure that is already in use cannot be issued.
A DVDCommandBlock structure that was used by an already completed DVD request can be used. The structure can be used in the callback function for the request that used the structure. To explain, the DVD library ends the request when the callback function is called and the structure is no longer needed.
DVDFileInfo, DVDGetUserData, DVDSetUserData
2006/03/01 Initial version.
CONFIDENTIAL