
#ifndef __IOCTLS_H_
#define __IOCTLS_H_

/** @file ioctls.h
 *
 * Definice konstant pro komunikaci s normalnimi aplikacemi.
 */

#include <ntddk.h>

#define IOCTL_OBJVIEW_OPEN                     CTL_CODE(FILE_DEVICE_UNKNOWN, 0x01, METHOD_BUFFERED, FILE_ALL_ACCESS)
#define IOCTL_OBJVIEW_CLOSE                    CTL_CODE(FILE_DEVICE_UNKNOWN, 0x02, METHOD_BUFFERED, FILE_ALL_ACCESS)
#define IOCTL_OBJVIEW_GET_HEADER               CTL_CODE(FILE_DEVICE_UNKNOWN, 0x03, METHOD_BUFFERED, FILE_ALL_ACCESS)
#define IOCTL_OBJVIEW_GET_HANDLE_INFO          CTL_CODE(FILE_DEVICE_UNKNOWN, 0x04, METHOD_BUFFERED, FILE_ALL_ACCESS)
#define IOCTL_OBJVIEW_GET_QUOTA_INFO           CTL_CODE(FILE_DEVICE_UNKNOWN, 0x05, METHOD_BUFFERED, FILE_ALL_ACCESS)
#define IOCTL_OBJVIEW_GET_NAME_INFO            CTL_CODE(FILE_DEVICE_UNKNOWN, 0x06, METHOD_BUFFERED, FILE_ALL_ACCESS)
#define IOCTL_OBJVIEW_GET_CREATOR_INFO         CTL_CODE(FILE_DEVICE_UNKNOWN, 0x07, METHOD_BUFFERED, FILE_ALL_ACCESS)
#define IOCTL_OBJVIEW_GET_SPECIFIC_INFO        CTL_CODE(FILE_DEVICE_UNKNOWN, 0x08, METHOD_BUFFERED, FILE_ALL_ACCESS)
#define IOCTL_OBJVIEW_GET_TYPE_INFO            CTL_CODE(FILE_DEVICE_UNKNOWN, 0x09, METHOD_BUFFERED, FILE_ALL_ACCESS)



#endif
