RegQueryReflectionKey function Null safety advapi32

int RegQueryReflectionKey(
  1. int hBase,
  2. Pointer<Int32> bIsReflectionDisabled
)

Determines whether reflection has been disabled or enabled for the specified key.

LONG RegQueryReflectionKey(
  HKEY hBase,
  BOOL *bIsReflectionDisabled);

Implementation

int RegQueryReflectionKey(int hBase, Pointer<Int32> bIsReflectionDisabled) {
  final _RegQueryReflectionKey = _advapi32.lookupFunction<
      Int32 Function(IntPtr hBase, Pointer<Int32> bIsReflectionDisabled),
      int Function(int hBase,
          Pointer<Int32> bIsReflectionDisabled)>('RegQueryReflectionKey');
  return _RegQueryReflectionKey(hBase, bIsReflectionDisabled);
}