netware_mem_info_for_nlm

Returns information about the memory the specified NLM is using.

Library:LibC
Classification:Novell
Service:NetWare Platform

Syntax

  #include <monitor.h>
   
  int netware_mem_info_for_nlm (
     struct mem_restag_info   *info,
     void                     *handle );
  

Parameters

info

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

handle

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

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