def METHOD_NAME(enabled):
    plsi = ffi.new("PROCESS_LEAP_SECOND_INFO*")
    if enabled:
        plsi.Flags = PROCESS_LEAP_SECOND_INFO_FLAG_ENABLE_SIXTY_SECOND
    else:
        plsi.Flags = 0
    plsi.Reserved = 0
    if not kernel32.SetProcessInformation(
        ffi.cast("HANDLE", -1),  # current process
        ProcessLeapSecondInfo,
        plsi,
        ffi.sizeof("PROCESS_LEAP_SECOND_INFO"),
    ):
        raise_winerror()