segatools/aimeio/aimeio.h
Tau ebef97e75a Drop aime_io_fini
This isn't used, and due to the way that the hook machinery works
it is not likely to come into use later on either. Since we can't
rely on existing implementations actually being correct, if it does
somehow start being used then we will need to advance the aimeio API
version in order to support it.
2021-06-13 11:27:00 -04:00

19 lines
554 B
C

#pragma once
#include <windows.h>
#include <stddef.h>
#include <stdint.h>
/* THIS API IS UNSTABLE. Please do not build alternative implementations of
this DLL just yet unless you are prepared to deal with API breakages. */
HRESULT aime_io_init(void);
HRESULT aime_io_nfc_poll(uint8_t unit_no);
HRESULT aime_io_nfc_get_aime_id(
uint8_t unit_no,
uint8_t *luid,
size_t luid_size);
HRESULT aime_io_nfc_get_felica_id(uint8_t unit_no, uint64_t *IDm);
void aime_io_led_set_color(uint8_t unit_no, uint8_t r, uint8_t g, uint8_t b);