mirror of
https://github.com/Nightmare-Eclipse/BlueHammer.git
synced 2026-06-11 09:01:18 +00:00
Initial commit
This commit is contained in:
committed by
GitHub
parent
376614e9ca
commit
18e9cf2403
Binary file not shown.
+3454
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
@@ -0,0 +1,31 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.14.36414.22 d17.14
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FunnyApp", "FunnyApp.vcxproj", "{C0C82A69-3EAD-4D50-A0EE-24B01449EAFA}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{C0C82A69-3EAD-4D50-A0EE-24B01449EAFA}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{C0C82A69-3EAD-4D50-A0EE-24B01449EAFA}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{C0C82A69-3EAD-4D50-A0EE-24B01449EAFA}.Debug|x86.ActiveCfg = Debug|Win32
|
||||||
|
{C0C82A69-3EAD-4D50-A0EE-24B01449EAFA}.Debug|x86.Build.0 = Debug|Win32
|
||||||
|
{C0C82A69-3EAD-4D50-A0EE-24B01449EAFA}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{C0C82A69-3EAD-4D50-A0EE-24B01449EAFA}.Release|x64.Build.0 = Release|x64
|
||||||
|
{C0C82A69-3EAD-4D50-A0EE-24B01449EAFA}.Release|x86.ActiveCfg = Release|Win32
|
||||||
|
{C0C82A69-3EAD-4D50-A0EE-24B01449EAFA}.Release|x86.Build.0 = Release|Win32
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {B894FD1E-E0A4-4043-9950-2A946FC73C8C}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -0,0 +1,181 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<VCProjectVersion>17.0</VCProjectVersion>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<ProjectGuid>{c0c82a69-3ead-4d50-a0ee-24b01449eafa}</ProjectGuid>
|
||||||
|
<RootNamespace>FunnyApp</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<EnableASAN>false</EnableASAN>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="Shared">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<IncludePath>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um;$(IncludePath)</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<IncludePath>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um;$(IncludePath)</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<IncludePath>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um;$(IncludePath)</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<IncludePath>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um;$(IncludePath)</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
</AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalLibraryDirectories>
|
||||||
|
</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>$(CoreLibraryDependencies);$(ProjectDir)offreg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
</AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalLibraryDirectories>
|
||||||
|
</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>$(CoreLibraryDependencies);$(ProjectDir)offreg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
</AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalLibraryDirectories>
|
||||||
|
</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>$(CoreLibraryDependencies);$(ProjectDir)offreg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<StackReserveSize>
|
||||||
|
</StackReserveSize>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
</AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalLibraryDirectories>
|
||||||
|
</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>$(CoreLibraryDependencies);$(ProjectDir)offreg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="FunnyApp.cpp" />
|
||||||
|
<ClCompile Include="windefend_c.c" />
|
||||||
|
<ClCompile Include="windefend_s.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="offreg.h" />
|
||||||
|
<ClInclude Include="resource.h" />
|
||||||
|
<ClInclude Include="windefend_h.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="FunnyApp.rc" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Midl Include="windefend.idl" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="FunnyApp.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="windefend_c.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="windefend_s.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="resource.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="offreg.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="windefend_h.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="FunnyApp.rc">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</ResourceCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Midl Include="windefend.idl">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</Midl>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,239 @@
|
|||||||
|
/*++
|
||||||
|
|
||||||
|
Copyright (c) Microsoft Corporation
|
||||||
|
|
||||||
|
Module Name:
|
||||||
|
|
||||||
|
offreg.h
|
||||||
|
|
||||||
|
Abstract:
|
||||||
|
|
||||||
|
This module contains the header file for the
|
||||||
|
offreg utility.
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef __OFFREG_H__
|
||||||
|
#define __OFFREG_H__
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(OFFREG_DLL)
|
||||||
|
#define ORAPI _declspec(dllexport) __stdcall
|
||||||
|
#else
|
||||||
|
#define ORAPI _declspec(dllimport) __stdcall
|
||||||
|
#endif
|
||||||
|
|
||||||
|
typedef PVOID ORHKEY;
|
||||||
|
typedef ORHKEY* PORHKEY;
|
||||||
|
|
||||||
|
VOID
|
||||||
|
ORAPI
|
||||||
|
ORGetVersion(
|
||||||
|
_Out_ PDWORD pdwMajorVersion,
|
||||||
|
_Out_ PDWORD pdwMinorVersion
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
OROpenHive(
|
||||||
|
_In_ PCWSTR FilePath,
|
||||||
|
_Out_ PORHKEY HORKey
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
OROpenHiveByHandle(
|
||||||
|
_In_ HANDLE FileHandle,
|
||||||
|
_Out_ PORHKEY HORKey
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORCreateHive(
|
||||||
|
_Out_ PORHKEY HORKey
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORCloseHive(
|
||||||
|
_In_ ORHKEY Handle
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORSaveHive(
|
||||||
|
_In_ ORHKEY HORKey,
|
||||||
|
_In_ PCWSTR HivePath,
|
||||||
|
_In_ DWORD OsMajorVersion,
|
||||||
|
_In_ DWORD OsMinorVersion
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
OROpenKey(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_In_opt_ PCWSTR lpSubKey,
|
||||||
|
_Out_ PORHKEY phkResult
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORCloseKey(
|
||||||
|
_In_ ORHKEY KeyHandle
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORCreateKey(
|
||||||
|
_In_ ORHKEY KeyHandle,
|
||||||
|
_In_ PCWSTR lpSubKey,
|
||||||
|
_In_opt_ PWSTR lpClass,
|
||||||
|
_In_opt_ DWORD dwOptions,
|
||||||
|
_In_opt_ PSECURITY_DESCRIPTOR pSecurityDescriptor,
|
||||||
|
_Out_ PORHKEY phkResult,
|
||||||
|
_Out_opt_ PDWORD pdwDisposition
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORDeleteKey(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_In_opt_ PCWSTR lpSubKey
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORQueryInfoKey(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_Out_writes_opt_(*lpcClass) PWSTR lpClass,
|
||||||
|
_Inout_opt_ PDWORD lpcClass,
|
||||||
|
_Out_opt_ PDWORD lpcSubKeys,
|
||||||
|
_Out_opt_ PDWORD lpcMaxSubKeyLen,
|
||||||
|
_Out_opt_ PDWORD lpcMaxClassLen,
|
||||||
|
_Out_opt_ PDWORD lpcValues,
|
||||||
|
_Out_opt_ PDWORD lpcMaxValueNameLen,
|
||||||
|
_Out_opt_ PDWORD lpcMaxValueLen,
|
||||||
|
_Out_opt_ PDWORD lpcbSecurityDescriptor,
|
||||||
|
_Out_opt_ PFILETIME lpftLastWriteTime
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
OREnumKey(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_In_ DWORD dwIndex,
|
||||||
|
_Out_writes_(*lpcName) PWSTR lpName,
|
||||||
|
_Inout_ PDWORD lpcName,
|
||||||
|
_Out_writes_opt_(*lpcClass) PWSTR lpClass,
|
||||||
|
_Inout_opt_ PDWORD lpcClass,
|
||||||
|
_Out_opt_ PFILETIME lpftLastWriteTime
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORGetKeySecurity(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_In_ SECURITY_INFORMATION SecurityInformation,
|
||||||
|
_Out_opt_ PSECURITY_DESCRIPTOR pSecurityDescriptor,
|
||||||
|
_Inout_ PDWORD lpcbSecurityDescriptor
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORSetKeySecurity(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_In_ SECURITY_INFORMATION SecurityInformation,
|
||||||
|
_In_ PSECURITY_DESCRIPTOR pSecurityDescriptor
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORGetVirtualFlags(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_Out_ PDWORD pdwFlags
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORSetVirtualFlags(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_In_ DWORD dwFlags
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORDeleteValue(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_In_opt_ PCWSTR lpValueName
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORGetValue(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_In_opt_ PCWSTR lpSubKey,
|
||||||
|
_In_opt_ PCWSTR lpValue,
|
||||||
|
_Out_opt_ PDWORD pdwType,
|
||||||
|
_Out_writes_bytes_opt_(*pcbData) PVOID pvData,
|
||||||
|
_Inout_opt_ PDWORD pcbData
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORSetValue(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_In_opt_ PCWSTR lpValueName,
|
||||||
|
_In_ DWORD dwType,
|
||||||
|
_In_reads_bytes_opt_(cbData) const BYTE* lpData,
|
||||||
|
_In_ DWORD cbData
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
OREnumValue(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_In_ DWORD dwIndex,
|
||||||
|
_Out_writes_(*lpcValueName) PWSTR lpValueName,
|
||||||
|
_Inout_ PDWORD lpcValueName,
|
||||||
|
_Out_opt_ PDWORD lpType,
|
||||||
|
_Out_writes_bytes_opt_(*lpcbData) PBYTE lpData,
|
||||||
|
_Inout_opt_ PDWORD lpcbData
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORRenameKey(
|
||||||
|
_In_ ORHKEY Handle,
|
||||||
|
_In_ PCWSTR lpNewName
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORStart(
|
||||||
|
VOID
|
||||||
|
);
|
||||||
|
|
||||||
|
VOID
|
||||||
|
ORShutdown(
|
||||||
|
VOID
|
||||||
|
);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
ORAPI
|
||||||
|
ORMergeHives(
|
||||||
|
_In_reads_(HiveCount) ORHKEY* HiveHandles,
|
||||||
|
_In_ ULONG HiveCount,
|
||||||
|
_Out_ PORHKEY phkResult
|
||||||
|
);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif //__OFFREG_H__
|
||||||
BIN
Binary file not shown.
+14
@@ -0,0 +1,14 @@
|
|||||||
|
//{{NO_DEPENDENCIES}}
|
||||||
|
// Microsoft Visual C++ generated include file.
|
||||||
|
// Used by FunnyApp.rc
|
||||||
|
|
||||||
|
// Next default values for new objects
|
||||||
|
//
|
||||||
|
#ifdef APSTUDIO_INVOKED
|
||||||
|
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||||
|
#define _APS_NEXT_RESOURCE_VALUE 101
|
||||||
|
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||||
|
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||||
|
#define _APS_NEXT_SYMED_VALUE 101
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
+2413
File diff suppressed because it is too large
Load Diff
+72957
File diff suppressed because it is too large
Load Diff
+2586
File diff suppressed because it is too large
Load Diff
+68441
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Reference in New Issue
Block a user