Skip to content

Latest commit

 

History

History
78 lines (62 loc) · 3.34 KB

nf-resapi-resutilremoveresourceserviceenvironment.md

File metadata and controls

78 lines (62 loc) · 3.34 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:resapi.ResUtilRemoveResourceServiceEnvironment
ResUtilRemoveResourceServiceEnvironment function (resapi.h)
Removes the environment data from a service. This function must be called from a resource DLL. The PRESUTIL_REMOVE_RESOURCE_SERVICE_ENVIRONMENT type defines a pointer to this function.
PRESUTIL_REMOVE_RESOURCE_SERVICE_ENVIRONMENT
PRESUTIL_REMOVE_RESOURCE_SERVICE_ENVIRONMENT function [Failover Cluster]
ResUtilRemoveResourceServiceEnvironment
ResUtilRemoveResourceServiceEnvironment function [Failover Cluster]
mscs.resutilremoveresourceserviceenvironment
resapi/PRESUTIL_REMOVE_RESOURCE_SERVICE_ENVIRONMENT
resapi/ResUtilRemoveResourceServiceEnvironment
mscs\resutilremoveresourceserviceenvironment.htm
MsCS
e0e3ea2d-9cf2-40f6-a3a8-fdcacb63479c
12/05/2018
PRESUTIL_REMOVE_RESOURCE_SERVICE_ENVIRONMENT, PRESUTIL_REMOVE_RESOURCE_SERVICE_ENVIRONMENT function [Failover Cluster], ResUtilRemoveResourceServiceEnvironment, ResUtilRemoveResourceServiceEnvironment function [Failover Cluster], mscs.resutilremoveresourceserviceenvironment, resapi/PRESUTIL_REMOVE_RESOURCE_SERVICE_ENVIRONMENT, resapi/ResUtilRemoveResourceServiceEnvironment
resapi.h
Windows
None supported
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
ResUtils.lib
ResUtils.dll
Windows
19H1
ResUtilRemoveResourceServiceEnvironment
resapi/ResUtilRemoveResourceServiceEnvironment
c++
APIRef
kbSyntax
DllExport
ResUtils.dll
ResUtilRemoveResourceServiceEnvironment

ResUtilRemoveResourceServiceEnvironment function

-description

Removes the environment data from a service. This function must be called from a resource DLL. The PRESUTIL_REMOVE_RESOURCE_SERVICE_ENVIRONMENT type defines a pointer to this function.

-parameters

-param pszServiceName [in]

Pointer to a null-terminated Unicode string that contains the name of the service.

-param pfnLogEvent [in]

Pointer to the LogEvent entry point function of the resource DLL that manages the service.

-param hResourceHandle [in]

Resource handle that the LogEvent entry point function requires. Use the handle passed to the DLL in the Open entry point function.

-returns

If the operation succeeds, the function returns ERROR_SUCCESS.

If the operation fails, the function returns a system error code.

-see-also

ResUtilGetEnvironmentWithNetName