Upload files to "/"

This commit is contained in:
2025-09-01 18:03:57 +01:00
parent e3a0452552
commit ad1a54252a
5 changed files with 212 additions and 0 deletions

25
untitled.h Normal file
View File

@@ -0,0 +1,25 @@
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <windows.h>
#ifdef __cplusplus
extern "C" { /* Assume C declarations for C++ */
#endif /* __cplusplus */
#pragma pack(push,1)
#define WRITE_DIRECTION 0
#define READ_DIRECTION 1
typedef struct WinUsbDevice WinUsbDevice;
HANDLE initialize_usb(void);
void write_usb(struct WinUsbDevice *device, const uint8_t *data, uintptr_t len);
#pragma pack(pop)
#ifdef __cplusplus
} /* End of extern "C" { */
#endif