After coding the following, the WinAPI call works although I get the exception below in my event log when I execute "SET MYPOINTER":
$set noilnative
$set ilpinvoke"kernel32"
$set ilpinvoke"gdi32"
01 MYPOINTER PROCEDURE-POINTER.
SET MYPOINTER TO ENTRY "kernel32.dll"
"Could not load file or assembly 'file:///C:\windows\system32\kernel32.dll' or one of its dependencies. The module was expected to contain an assembly manifest."