addrisinprotectedspace

Returns whether the specified address is a protected address space.

Library:LibC
Service:Library

Syntax

  #include <library.h> 
   
  int addrisinprotectedspace (
     void   *addr );
  

Parameters

addr

(IN) Points to an address.

Return Values

If the address is in a protected address space, returns a non-zero value.

If the address is not in a protected address space, returns 0.

Remarks

An NLM that is not in a protected address space is running in the kernel.

See Also