DwtDrmRCType(3Dwt)
Name
DwtDrmRCType − Returns the type of a resource context.
Syntax
#include <X11/DwtAppl.h>
DRMType DwtDrmRCType(context_id)
DRMResourceContextPtr context_id;
Arguments
context_idSpecifies the resource context to read.
Description
The DwtDrmRCType macro returns the type of the specified resource context. Note that no validity checking is done on the resource context. The caller must ensure that the resource context pointer is valid.
Return Values
This function returns one of these status return constants:
| DRMSuccess | The function executed successfully. |
| DRMType | The type of the resource context. |
| DRMInvalid | Invalid resource context. |