mirror of https://github.com/hfiref0x/KDU.git
30 lines
776 B
C
30 lines
776 B
C
![]() |
/*******************************************************************************
|
||
|
*
|
||
|
* (C) COPYRIGHT AUTHORS, 2018 - 2020
|
||
|
*
|
||
|
* TITLE: VICTIM.H
|
||
|
*
|
||
|
* VERSION: 1.00
|
||
|
*
|
||
|
* DATE: 07 Jan 2020
|
||
|
*
|
||
|
* Victim support prototypes and definitions.
|
||
|
*
|
||
|
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
|
||
|
* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
|
||
|
* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
||
|
* PARTICULAR PURPOSE.
|
||
|
*
|
||
|
*******************************************************************************/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
BOOL VictimCreate(
|
||
|
_In_ HINSTANCE ModuleBase,
|
||
|
_In_ LPWSTR Name, //same as device name
|
||
|
_In_ ULONG ResourceId,
|
||
|
_Out_opt_ PHANDLE VictimHandle);
|
||
|
|
||
|
BOOL VictimRelease(
|
||
|
_In_ LPWSTR Name);
|