http://www.aros.org AROS-Exec AROS-Exec Archives Power2People
kitty mascottop logo menu

misc

Index


AllocMiscResource() FreeMiscResource()    

AllocMiscResource()

Synopsis

char * AllocMiscResource(
         ULONG unitNum,
         char * name );

Function

Allocates one of the miscellaneous resources.

Inputs

unitNum  --  The resource to allocate
name     --  An identifying name for you, must NOT be NULL.

Result

NULL if the allocation was successful. If the resource couln't be
allocated, the name of the holder of the resource is returned.

FreeMiscResource()

Synopsis

VOID FreeMiscResource();

Function

Frees one of the miscellaneous resources.

Inputs

unitNum  --  The resource to free.

Notes

You must have allocated the resource to free it!

Direitos de Cópia © 1995-2024, A Equipa de Desenvolvimento AROS. Todos Os Direitos Reservados.
Amiga®, AmigaOS®, Workbench e Intuition são marcas registadas de Amiga Inc. Todas as outras marcas comerciais pertencem aos seus respectivos proprietários.