Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SERVICE_LAUNCH_PROTECTED_INFO structure

Indicates a service protection type.

Syntax


typedef struct _SERVICE_LAUNCH_PROTECTED_INFO {
  DWORD  dwLaunchProtected;
} SERVICE_LAUNCH_PROTECTED_INFO, *PSERVICE_LAUNCH_PROTECTED_INFO;

Members

dwLaunchProtected

The protection type of the service. This member can be one of the following values:

SERVICE_LAUNCH_PROTECTED_NONE (0)
SERVICE_LAUNCH_PROTECTED_WINDOWS (1)
SERVICE_LAUNCH_PROTECTED_WINDOWS_LIGHT (2)
SERVICE_LAUNCH_PROTECTED_ANTIMALWARE_LIGHT (3)

Remarks

This structure is used by the ChangeServiceConfig2 function to specify the protection type of the service, and it is used with QueryServiceConfig2 to retrieve service configuration information for protected services. In order to apply any protection type to a service, the service must be signed with an appropriate certificate.

The SERVICE_LAUNCH_PROTECTED_WINDOWS and SERVICE_LAUNCH_PROTECTED_WINDOWS_LIGHT protection types are reserved for internal Windows use only.

The SERVICE_LAUNCH_PROTECTED_ANTIMALWARE_LIGHT protection type can be used by the anti-malware vendors to launch their anti-malware service as protected. See Protecting Anti-Malware Services for more info.

Once the service is launched as protected, other unprotected processes will not be able to call the following APIs on the protected service.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

WinSvc.h

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.