netware_restag_info_for_nlm

Returns information about the specified resource tag for the specified NLM.

Library:LibC
Classification:Novell
Service:NetWare Platform

Syntax

  #include <monitor.h>
   
  int netware_restag_info_for_nlm (
     struct restag_info   *info,
     void                 *handle,
     uint32_t              signature,
     int                   which);
  

Parameters

info

(OUT) Points to the restag_info structure, which contains information about the memory in use.

handle

(IN) Points to the handle for an NLM. To obtain a handle, call findnlmhandle or getnlmhandle.

signature

(IN) Specifies the resource tag for which to return information. For a list of possible values, see Section 30.2, Resource Tag Signatures.

which

(IN) Specifies the instance of the resource tag in the NLM. Because an NLM can have more than one instance of any type of resource tag, successive calls to this function with incrementally different values for this argument returns them all. The first pass should set the which parameter to 1. Passing 1 more than the number of instances does not result in an error; initialize the info structure argument to know if, after the call, there was such an instance.

Return Values

If successful, returns 0; otherwise, returns a nonzero error code:

Decimal

Hex

Constant

Description

9

0x09

EINVAL

The handle parameter is invalid.

66

0x42

ENOSYS

The function cannot be exported (error from NetWare ExportPublicSymbol).

See Also