## Physical Device Driver Reference

[prev][next][parent][TOC]

### RMDeAllocResource - Calling Sequence

This service is supported by both rminfo.dll and rmcalls.lib. It destroys a resource handle created by RMAllocResource.

    #include <os2.h>

    #include <rmcalls.h>

    HDRIVER      hDriver;

    HRESOURCE    hResource;

    APIRET       rc;

    rc = RMDeAllocResource(hDriver, hResource);