This function is deprecated as of FESF V1.10. No similar/compatible function will be provided in future FESF user-mode components.
Client Solutions can determine if the FesfPolicy service is running using the Windows Service Control Manager. Alternatively, Client Solutions can implement other signaling methods in their Solution’s service(s) or from their Solution’s Client Policy DLL.
Determines if the FESF Policy Service (FesfPolicy) is in the running state.
HRESULT
IsFesfServiceRunning(
[out, retval] VARIANT_BOOL* ServiceRunning
)
ServiceRunning [out, retval]
A pointer into which to return a value indicating whether FesfPolicy is running.
If the method succeeds, S_OK is returned.
If the method fails for any reason, an appropriate error code is returned.
Important: This method is deprecated and is pending removal from FESF. Do not use it. Convert existing code that uses it as soon as possible. No similar function exists in FesfUtil2, because there are numerous ways for a Client Solution to determine whether their Solution is properly running. A single IsFesfServiceRunning method is not sufficient for this purpose.
A Client Solution may call this method to determine if FesfPolicy is actively running. In this case, "actively running" means that the FESF Policy Service has started, has performed its required initialization, and is actively processing requests.
An example of how to invoke this method is provided at the beginning of this section.
The provided UM_Sample solution contains several examples that illustrate the use of this method.
Software version |
FESF V1 (or later) |
DLL |
FESFUtility.DLL |
Supported FESF State |
FESF Online State |
Type Library |
\UM_FESF\UMLIB\FESFUTILITY.TLB |
IID |
IFesfUtil (please use the defintion from the Type Library) |
CLSID |
FesfUtil (please use the definition from the Type Library) |