View Issue Details

IDProjectCategoryView StatusLast Update
0037447FPCPackagespublic2020-08-02 17:21
ReporterTaufik Rahmad Hidayanto Assigned ToSven Barth  
PrioritynormalSeverityminorReproducibilityunable to reproduce
Status resolvedResolutionfixed 
PlatformWindowsOSWindows 
Product Version3.2.0 
Fixed in Version3.3.1 
Summary0037447: HttpAPi.pp missing function HttpUpdateServiceConfiguration
DescriptionHttpAPi.pp missing function HttpUpdateServiceConfiguration
This function is useful for update existing SSL configuration rather than delete and set new configuration

function HttpUpdateServiceConfiguration(
    ServiceHandle: THandle;
    ConfigId: HTTP_SERVICE_CONFIG_ID;
    ConfigInfo: PVOID;
    ConfigInfoLength: ULONG;
    Overlapped: LPOVERLAPPED
  ): ULONG; WinApi; external External_library name 'HttpUpdateServiceConfiguration';

Steps To Reproduce// example HttpUpdateServiceConfiguration
e := HttpSetServiceConfiguration(...);
if e = ERROR_ALREADY_EXISTS then
begin
// Do update existing SSL configuration
HttpUpdateServiceConfiguration(...);
end;
Additional Informationhttps://docs.microsoft.com/en-us/windows/win32/api/http/nf-http-httpupdateserviceconfiguration
TagsNo tags attached.
Fixed in Revision45992
FPCOldBugId
FPCTarget-
Attached Files

Activities

Sven Barth

2020-08-02 17:21

manager   ~0124510

I've implemented the function, but as it is only available in newer versions of Windows 10 it will be loaded dynamically and an exception will be raised if it is not found (essentially what would be the case if it would be marked with "delayed" which FPC does not yet support).

Issue History

Date Modified Username Field Change
2020-07-30 01:48 Taufik Rahmad Hidayanto New Issue
2020-08-02 17:21 Sven Barth Assigned To => Sven Barth
2020-08-02 17:21 Sven Barth Status new => resolved
2020-08-02 17:21 Sven Barth Resolution open => fixed
2020-08-02 17:21 Sven Barth Fixed in Version => 3.3.1
2020-08-02 17:21 Sven Barth Fixed in Revision => 45992
2020-08-02 17:21 Sven Barth FPCTarget => -
2020-08-02 17:21 Sven Barth Note Added: 0124510