Skip to main content
net10.0-windows7.0.NETFramework4.8net5.0net6.0net7.0net8.0-windows7.0

PInvoke API (methods, structures and constants) imported from Windows FhSvcCtl.dll.

Published
May 16, 2026
5mo ago
Total Downloads
29.9K
29,855

Install

dotnet add package Vanara.PInvoke.FhSvcCtl --version 5.0.5
ProductVersions
.NET
net10.0-windows7.0net5.0net6.0net7.0net8.0-windows7.0net9.0-windows7.0
.NET Standard
netstandard2.0netstandard2.1
Other
.NETCoreApp3.1.NETFramework4.8

README

Vanara

Vanara.PInvoke.FhSvcCtl NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows FhSvcCtl.dll.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the MyGet build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.FhSvcCtl

Functions Enumerations Structures Interfaces
FhServiceBlockBackup
FhServiceClosePipe
FhServiceOpenPipe
FhServiceReloadConfiguration
FhServiceStartBackup
FhServiceStopBackup
FhServiceUnblockBackup

| FH_BACKUP_STATUS
FH_DEVICE_VALIDATION_RESULT
FH_LOCAL_POLICY_TYPE
FH_PROTECTED_ITEM_CATEGORY
FH_RETENTION_TYPES
FH_STATE
FH_TARGET_DRIVE_TYPES
FH_TARGET_PROPERTY_TYPE
FHERR
| FH_SERVICE_PIPE_HANDLE

| IFhConfigMgr
IFhReassociation
IFhScopeIterator
IFhTarget

Changes from Previous Version

No structural changes between v5.0.4 and v5.0.5.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 10 target frameworks; confirm the exact target used by your application.The published metadata declares 22 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.