verifynlmhandle

Determines whether the NLM handle is valid.

Library:LibC
Service:Library

Syntax

  #include <library.h> 
   
  int verifynlmhandle (
     void   *handle);
  

Parameters

handle

(IN) Points to the handle to check.

Return Values

Returns 0 if the handle is good; otherwise returns -1 and sets errno to the following:

Decimal

Name

Description

22

EBADHNDL

The handle parameter does not point to a valid NLM handle.

Remarks

The handle parameter is obtained by calling getnlmhandle or findnlmhandle.

See Also