mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2026-06-16 07:49:24 +00:00
updates and moves
n/a
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
/**************************************************************************************
|
||||
* AUTHOR : MZ
|
||||
* DATE : 2016-8-29
|
||||
* MODULE : common.h
|
||||
*
|
||||
* Command:
|
||||
* IOCTRL Common Header
|
||||
*
|
||||
* Description:
|
||||
* Common data for the IoCtrl driver and application
|
||||
*
|
||||
****************************************************************************************
|
||||
* Copyright (C) 2010 MZ.
|
||||
****************************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
//#######################################################################################
|
||||
// D E F I N E S
|
||||
//#######################################################################################
|
||||
|
||||
#if DBG
|
||||
#define dprintf DbgPrint
|
||||
#else
|
||||
#define dprintf
|
||||
#endif
|
||||
|
||||
//不支持符号链接用户相关性
|
||||
#define DEVICE_NAME L"\\Device\\devHideProcess" // Driver Name
|
||||
#define SYMBOLIC_LINK_NAME L"\\DosDevices\\HideProcess" // Symbolic Link Name
|
||||
#define WIN32_LINK_NAME "\\\\.\\HideProcess" // Win32 Link Name
|
||||
|
||||
//支持符号链接用户相关性
|
||||
#define SYMBOLIC_LINK_GLOBAL_NAME L"\\DosDevices\\Global\\HideProcess" // Symbolic Link Name
|
||||
|
||||
#define DATA_TO_APP "Hello World from Driver"
|
||||
|
||||
//
|
||||
// Device IO Control Codes
|
||||
//
|
||||
#define IOCTL_BASE 0x800
|
||||
#define MY_CTL_CODE(i) \
|
||||
CTL_CODE \
|
||||
( \
|
||||
FILE_DEVICE_UNKNOWN, \
|
||||
IOCTL_BASE + i, \
|
||||
METHOD_BUFFERED, \
|
||||
FILE_ANY_ACCESS \
|
||||
)
|
||||
|
||||
#define IOCTL_HELLO_WORLD MY_CTL_CODE(0)
|
||||
#define IOCTRL_REC_FROM_APP MY_CTL_CODE(1)
|
||||
#define IOCTRL_SEND_TO_APP MY_CTL_CODE(2)
|
||||
|
||||
|
||||
//
|
||||
// TODO: Add your IOCTL define here
|
||||
//
|
||||
|
||||
|
||||
|
||||
//
|
||||
// TODO: Add your struct,enum(public) define here
|
||||
//
|
||||
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
||||
Reference in New Issue
Block a user