SetServiceObjectSecurity function advapi32
int
SetServiceObjectSecurity(
- int hService,
- int dwSecurityInformation,
- Pointer<
NativeType> lpSecurityDescriptor
The SetServiceObjectSecurity function sets the security descriptor of a service object.
BOOL SetServiceObjectSecurity(
[in] SC_HANDLE hService,
[in] SECURITY_INFORMATION dwSecurityInformation,
[in] PSECURITY_DESCRIPTOR lpSecurityDescriptor
);
Implementation
int SetServiceObjectSecurity(int hService, int dwSecurityInformation,
Pointer lpSecurityDescriptor) =>
_SetServiceObjectSecurity(
hService, dwSecurityInformation, lpSecurityDescriptor);