GetServiceRegistryStateKey function onecore
int
GetServiceRegistryStateKey(
- SERVICE_STATUS_HANDLE serviceStatusHandle,
- SERVICE_REGISTRY_STATE_TYPE stateType,
- int accessMask,
- Pointer<
Pointer< serviceStateKey,NativeType> >
Returns a handle for a registry key for a service to read and/or write state to.
To learn more, see learn.microsoft.com/windows/win32/api/winsvc/nf-winsvc-getserviceregistrystatekey.
Implementation
@pragma('vm:prefer-inline')
int GetServiceRegistryStateKey(
SERVICE_STATUS_HANDLE serviceStatusHandle,
SERVICE_REGISTRY_STATE_TYPE stateType,
int accessMask,
Pointer<Pointer> serviceStateKey,
) => _GetServiceRegistryStateKey(
serviceStatusHandle,
stateType,
accessMask,
serviceStateKey,
);