RegisterServiceCtrlHandlerW method

Pointer<SERVICE_STATUS_HANDLE__> RegisterServiceCtrlHandlerW(
  1. Pointer<Uint16> lpServiceName,
  2. Pointer<NativeFunction<LPHANDLER_FUNCTION>> lpHandlerProc
)

Implementation

ffi.Pointer<SERVICE_STATUS_HANDLE__> RegisterServiceCtrlHandlerW(
  ffi.Pointer<ffi.Uint16> lpServiceName,
  ffi.Pointer<ffi.NativeFunction<LPHANDLER_FUNCTION>> lpHandlerProc,
) {
  return _RegisterServiceCtrlHandlerW(
    lpServiceName,
    lpHandlerProc,
  );
}