QueryServiceObjectSecurity method
Implementation
int QueryServiceObjectSecurity(
ffi.Pointer<SC_HANDLE__> hService,
int dwSecurityInformation,
ffi.Pointer<ffi.Void> lpSecurityDescriptor,
int cbBufSize,
ffi.Pointer<ffi.Uint64> pcbBytesNeeded,
) {
return (_QueryServiceObjectSecurity ??= _dylib.lookupFunction<
_c_QueryServiceObjectSecurity,
_dart_QueryServiceObjectSecurity>('QueryServiceObjectSecurity'))(
hService,
dwSecurityInformation,
lpSecurityDescriptor,
cbBufSize,
pcbBytesNeeded,
);
}