Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DwtDrmRCSize(3Dwt)

Name

DwtDrmRCSize − Returns the size of a resource context. 

Syntax

#include <X11/DwtAppl.h>
DRMSize DwtDrmRCSize(context_id)
     DRMResourceContextPtr context_id;

Arguments

context_idSpecifies the resource context to read. 

Description

The DwtDrmRCSize macro returns the size of the specified resource context.  Note that no validity checking is done on the resource context; the caller must ensure that the context pointer is valid. 

Return Value

This macro can return one of the following status return constants:

DRMSuccess The function executed successfully. 
DRMSize The size in bytes of the resource context. 
DRMFailure Invalid resource context. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026