## Physical Device Driver Reference

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

### RMDestroyAdapter

Select an item:

    Calling Sequence
    Calling Parameters
    Returns
    Remarks
    Glossary

This rmcall service destroys an adapter handle and releases an adapter handle created by RMCreateAdapter.

    <os2.h>

    <rmcalls.h>

    HDRIVER     hDriver;

    HADAPTER    hAdapter;

    APIRET      rc;

    rc = RMDestroyAdapter(hDriver, hAdapter);