## Physical Device Driver Reference

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

### RMCreateDetected

Select an item:

    Calling Sequence
    Calling Parameters
    Returns
    Glossary

This service is supported by both rminfo.dll and rmcalls.lib. It obtains a detected driver handle. The detected devices found by snoopers or bus enumerators (ISA PNP) and recorded in the DETECTEDSTRUCT structure are registered with the Resource Manager.

    #include <os2.h>

    #include <rmcalls.h>

    HDRIVER            hDriver;

    PHDETECTED         phDetected;

    PDETECTEDSTRUCT    pDetectedStruct;

    PAHRESOURCE        phaResource;

    APIRET             rc;

    rc = RMCreateDetected(hDriver, phDetected,

           pDetectedStruct, phaResource);