![]() |
![]() |
![]() |
|
[
About the Wizard's Toolkit ] [ Command-line Tools ] [ Application Program Interface ] [ Install from Source Unix Windows Binary Releases Unix Windows ] [ Download ] [ Search ] [ Sponsors: ] |
AcquireUniqueFilename() replaces the contents of path by a unique path name. The format of the AcquireUniqueFilename method is: WizardBooleanType AcquireUniqueFilename(char *path,Exception *exception) A description of each parameter follows. pathSpecifies a pointer to an array of characters. The unique path name is returned in this array. exceptionReturn any errors or warnings in this structure. AcquireUniqueFileResource() returns a unique file name, and returns a file descriptor for the file open for reading and writing. The format of the AcquireUniqueFileResource() method is:
int AcquireUniqueFileResource(const char *path,char *filename,
ExceptionInfo *exception)
A description of each parameter follows: pathOpen the file in this directory path. filenameThe unique filename is returned in this array. exceptionReturn any errors or warnings in this structure. AcquireWizardResource() acquires resources of the specified type. WizardFalse is returned if the specified resource is exhausted otherwise WizardTrue. The format of the AcquireWizardResource() method is:
WizardBooleanType AcquireWizardResource(const ResourceType type,
const WizardSizeType size)
A description of each parameter follows: typeThe type of resource. sizeThe number of bytes needed from for this resource. GetWizardResource() returns the the specified resource in megabytes. The format of the GetWizardResource() method is: WizardSizeType GetWizardResource(const ResourceType type) A description of each parameter follows: typeThe type of resource. GetWizardResource() returns the the specified resource limit in megabytes. The format of the GetWizardResourceLimit() method is: unsigned long GetWizardResourceLimit(const ResourceType type) A description of each parameter follows: typeThe type of resource. ListWizardResourceInfo() lists the resource info to a file. The format of the ListWizardResourceInfo method is:
WizardBooleanType ListWizardResourceInfo(FILE *file,
ExceptionInfo *exception)
A description of each parameter follows. fileAn pointer to a FILE. exceptionReturn any errors or warnings in this structure. RelinquishWizardResource() relinquishes resources of the specified type. The format of the RelinquishWizardResource() method is:
void RelinquishWizardResource(const ResourceType type,
const WizardSizeType size)
A description of each parameter follows: typeThe type of resource. sizeThe size of the resource. RelinquishUniqueFileResource() relinquishes a unique file resource. The format of the RelinquishUniqueFileResource() method is:
WizardBooleanType RelinquishUniqueFileResource(const char *path,
const WizardBooleanType trash))
A description of each parameter follows: namethe name of the temporary resource. trasha value other than 0 trashs the file at the specified path. SetWizardResourceLimit() sets the limit for a particular resource in bytes. The format of the SetWizardResourceLimit() method is:
WizardBooleanType SetWizardResourceLimit(const ResourceType type,
const WizardResourceType limit)
A description of each parameter follows: typeThe type of resource. limitThe maximum limit for the resource. |