Vanara/PInvoke/FhSvcCtl/readme.md

45 lines
6.3 KiB
Markdown

## Vanara.PInvoke.FhSvcCtl
PInvoke API (methods, structures and constants) imported from Windows FhSvcCtl.dll.
- Includes methods from fhsvcctl.dll
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.FhSvcCtl?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.FhSvcCtl?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.FhSvcCtl)
### Methods - 100% API coverage (7 of 7 functions)
Native Method | Header | Managed Method
--- | --- | ---
[FhServiceBlockBackup](https://www.google.com/search?num=5&q=FhServiceBlockBackup+site%3Alearn.microsoft.com) | fhsvcctl.h | [Vanara.PInvoke.FhSvcCtl.FhServiceBlockBackup](https://github.com/dahall/Vanara/search?l=C%23&q=FhServiceBlockBackup)
[FhServiceClosePipe](https://www.google.com/search?num=5&q=FhServiceClosePipe+site%3Alearn.microsoft.com) | fhsvcctl.h | [Vanara.PInvoke.FhSvcCtl.FhServiceClosePipe](https://github.com/dahall/Vanara/search?l=C%23&q=FhServiceClosePipe)
[FhServiceOpenPipe](https://www.google.com/search?num=5&q=FhServiceOpenPipe+site%3Alearn.microsoft.com) | fhsvcctl.h | [Vanara.PInvoke.FhSvcCtl.FhServiceOpenPipe](https://github.com/dahall/Vanara/search?l=C%23&q=FhServiceOpenPipe)
[FhServiceReloadConfiguration](https://www.google.com/search?num=5&q=FhServiceReloadConfiguration+site%3Alearn.microsoft.com) | fhsvcctl.h | [Vanara.PInvoke.FhSvcCtl.FhServiceReloadConfiguration](https://github.com/dahall/Vanara/search?l=C%23&q=FhServiceReloadConfiguration)
[FhServiceStartBackup](https://www.google.com/search?num=5&q=FhServiceStartBackup+site%3Alearn.microsoft.com) | fhsvcctl.h | [Vanara.PInvoke.FhSvcCtl.FhServiceStartBackup](https://github.com/dahall/Vanara/search?l=C%23&q=FhServiceStartBackup)
[FhServiceStopBackup](https://www.google.com/search?num=5&q=FhServiceStopBackup+site%3Alearn.microsoft.com) | fhsvcctl.h | [Vanara.PInvoke.FhSvcCtl.FhServiceStopBackup](https://github.com/dahall/Vanara/search?l=C%23&q=FhServiceStopBackup)
[FhServiceUnblockBackup](https://www.google.com/search?num=5&q=FhServiceUnblockBackup+site%3Alearn.microsoft.com) | fhsvcctl.h | [Vanara.PInvoke.FhSvcCtl.FhServiceUnblockBackup](https://github.com/dahall/Vanara/search?l=C%23&q=FhServiceUnblockBackup)
### Enumerations
Native Enum | Header | Managed Enum
--- | --- | ---
[FH_BACKUP_STATUS](https://www.google.com/search?num=5&q=FH_BACKUP_STATUS+site%3Alearn.microsoft.com) | fhcfg.h | [Vanara.PInvoke.FhSvcCtl.FH_BACKUP_STATUS](https://github.com/dahall/Vanara/search?l=C%23&q=FH_BACKUP_STATUS)
[FH_DEVICE_VALIDATION_RESULT](https://www.google.com/search?num=5&q=FH_DEVICE_VALIDATION_RESULT+site%3Alearn.microsoft.com) | fhcfg.h | [Vanara.PInvoke.FhSvcCtl.FH_DEVICE_VALIDATION_RESULT](https://github.com/dahall/Vanara/search?l=C%23&q=FH_DEVICE_VALIDATION_RESULT)
[FH_LOCAL_POLICY_TYPE](https://www.google.com/search?num=5&q=FH_LOCAL_POLICY_TYPE+site%3Alearn.microsoft.com) | fhcfg.h | [Vanara.PInvoke.FhSvcCtl.FH_LOCAL_POLICY_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=FH_LOCAL_POLICY_TYPE)
[FH_PROTECTED_ITEM_CATEGORY](https://www.google.com/search?num=5&q=FH_PROTECTED_ITEM_CATEGORY+site%3Alearn.microsoft.com) | fhcfg.h | [Vanara.PInvoke.FhSvcCtl.FH_PROTECTED_ITEM_CATEGORY](https://github.com/dahall/Vanara/search?l=C%23&q=FH_PROTECTED_ITEM_CATEGORY)
[FH_RETENTION_TYPES](https://www.google.com/search?num=5&q=FH_RETENTION_TYPES+site%3Alearn.microsoft.com) | fhcfg.h | [Vanara.PInvoke.FhSvcCtl.FH_RETENTION_TYPES](https://github.com/dahall/Vanara/search?l=C%23&q=FH_RETENTION_TYPES)
[FH_STATE](https://www.google.com/search?num=5&q=FH_STATE+site%3Alearn.microsoft.com) | fhstatus.h | [Vanara.PInvoke.FhSvcCtl.FH_STATE](https://github.com/dahall/Vanara/search?l=C%23&q=FH_STATE)
[FH_TARGET_DRIVE_TYPES](https://www.google.com/search?num=5&q=FH_TARGET_DRIVE_TYPES+site%3Alearn.microsoft.com) | fhcfg.h | [Vanara.PInvoke.FhSvcCtl.FH_TARGET_DRIVE_TYPES](https://github.com/dahall/Vanara/search?l=C%23&q=FH_TARGET_DRIVE_TYPES)
[FH_TARGET_PROPERTY_TYPE](https://www.google.com/search?num=5&q=FH_TARGET_PROPERTY_TYPE+site%3Alearn.microsoft.com) | fhcfg.h | [Vanara.PInvoke.FhSvcCtl.FH_TARGET_PROPERTY_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=FH_TARGET_PROPERTY_TYPE)
[FHERR](https://www.google.com/search?num=5&q=FHERR+site%3Alearn.microsoft.com) | fherrors.h | [Vanara.PInvoke.FhSvcCtl.FHERR](https://github.com/dahall/Vanara/search?l=C%23&q=FHERR)
### Structures
Native Structure | Header | Managed Structure
--- | --- | ---
[FH_SERVICE_PIPE_HANDLE](https://www.google.com/search?num=5&q=FH_SERVICE_PIPE_HANDLE+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.FhSvcCtl.FH_SERVICE_PIPE_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=FH_SERVICE_PIPE_HANDLE)
### Interfaces
Native Interface | Header | Managed Interface
--- | --- | ---
[IFhConfigMgr](https://www.google.com/search?num=5&q=IFhConfigMgr+site%3Alearn.microsoft.com) | fhcfg.h | [Vanara.PInvoke.FhSvcCtl.IFhConfigMgr](https://github.com/dahall/Vanara/search?l=C%23&q=IFhConfigMgr)
[IFhReassociation](https://www.google.com/search?num=5&q=IFhReassociation+site%3Alearn.microsoft.com) | fhcfg.h | [Vanara.PInvoke.FhSvcCtl.IFhReassociation](https://github.com/dahall/Vanara/search?l=C%23&q=IFhReassociation)
[IFhScopeIterator](https://www.google.com/search?num=5&q=IFhScopeIterator+site%3Alearn.microsoft.com) | fhcfg.h | [Vanara.PInvoke.FhSvcCtl.IFhScopeIterator](https://github.com/dahall/Vanara/search?l=C%23&q=IFhScopeIterator)
[IFhTarget](https://www.google.com/search?num=5&q=IFhTarget+site%3Alearn.microsoft.com) | fhcfg.h | [Vanara.PInvoke.FhSvcCtl.IFhTarget](https://github.com/dahall/Vanara/search?l=C%23&q=IFhTarget)
### Classes
Native Class | Header | Managed Class
--- | --- | ---
[FhConfigMgr](https://www.google.com/search?num=5&q=FhConfigMgr+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.FhSvcCtl.FhConfigMgr](https://github.com/dahall/Vanara/search?l=C%23&q=FhConfigMgr)
[FhReassociation](https://www.google.com/search?num=5&q=FhReassociation+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.FhSvcCtl.FhReassociation](https://github.com/dahall/Vanara/search?l=C%23&q=FhReassociation)
[SafeFH_SERVICE_PIPE_HANDLE](https://www.google.com/search?num=5&q=SafeFH_SERVICE_PIPE_HANDLE+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.FhSvcCtl.SafeFH_SERVICE_PIPE_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=SafeFH_SERVICE_PIPE_HANDLE)