Sweden-Number/win32/object_mgt.c

20 lines
307 B
C

/*
* object_mgt.c - Kernel object management functions
*
* Revision History:
*
* Oct 28 1995 C. Heide
* First created.
*/
#include <stdio.h>
#include <stdlib.h>
#include "handle32.h"
int ValidateKernelObject(KERNEL_OBJECT *ptr)
{
return (!ptr || (short int)(int)ptr==-1);
}