RMModifyNodeFlags

From EDM2
Jump to: navigation, search

This rmcall service modifies flags for a given node.

Syntax

RMModifyNodeFlags(hDriver, hNode, Flags);

Parameters

hDriver (HDRIVER) - input 
Driver handle of the enumerator/snooper driver that creates this adapter.
hNode (RMHANDLE) - input 
The handle to the resource manager node that needs to be modified. The following types of nodes are valid: Adapter, Device, Detected, Logical Device, System Device.
Flags (USHORT) - input 
The modified flag value for a given node.

Return Code

rc (APIRET) - returns 
On systems where the Resource Manager driver is not installed, the library interface code will return RMRC_NOT_INSTALLED.
   RMRC_BAD_DRIVERHANDLE
   RMRC_BAD_RMHANDLE
   RMRC_SUCCESS

Remarks

Example Code

C

#include <os2.h>
#include <rmcalls.h>

HDRIVER     hDriver;
RMHANDLE    hNode;
USHORT      Flags;
APIRET      rc;

rc = RMModifyNodeFlags(hDriver, hNode, Flags);