ORA_FFI.IS_NULL_PTR
built-in functionThis function determines whether a library, function, or pointer handle is null.
FUNCTION ORA_FFI.IS_NULL_PTR (handle libHandleType)
RETURN BOOLEAN;
FUNCTION ORA_FFI.IS_NULL_PTR (handle funcHandleType)
RETURN BOOLEAN;
FUNCTION ORA_FFI.IS_NULL_PTR (handle pointerType)
RETURN BOOLEAN;
Parameter |
Description |
|
The library, function, or pointer to evaluate. |
|
If the handle is null. |
|
If the handle is not null. |
/* This example uses ORA_FFI.IS_NULL_PTR */
PROCEDURE register_libs IS
...
BEGIN
/* Load foreign function library */
libhandle := ORA_FFI.LOAD_LIBRARY
('C:\oralibs\', 'libfoo.dll');
/* Test whether library is null */
IF (ORA_FFI.IS_NULL_PTR(libhandle)) THEN
...
END;
About the ORA_FFI
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.