Refine giga_ioctl DLL boundary
Keep giga_ioctl as an independently maintained driver ABI DLL while simplifying its implementation around shared DeviceIoControl helpers and named request layouts. Preserve the existing C exports, IOCTL values, GetLastError behavior, and GVFG capture ownership. Add concise maintainer guidance and document that capture state remains outside this module. Validation: MSVC Release giga_ioctl target built successfully; dumpbin confirmed all 10 exports; git diff --check passed.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Driver event values. Keep these synchronized with the driver ABI. */
|
||||
enum giga_ioctl_event_type
|
||||
{
|
||||
GIGA_IOCTL_EVENT_VIDEO_DMA = 0,
|
||||
@@ -24,7 +25,8 @@ enum giga_ioctl_event_type
|
||||
|
||||
GIGA_IOCTL_API BOOL giga_ioctl_read_register(HANDLE device, uint32_t offset, uint32_t *value);
|
||||
GIGA_IOCTL_API BOOL giga_ioctl_write_register(HANDLE device, uint32_t offset, uint32_t value);
|
||||
GIGA_IOCTL_API BOOL giga_ioctl_register_event(HANDLE device, uint32_t channel, uint32_t type, HANDLE event_handle);
|
||||
GIGA_IOCTL_API BOOL giga_ioctl_register_event(HANDLE device, uint32_t channel,
|
||||
uint32_t type, HANDLE event_handle);
|
||||
GIGA_IOCTL_API BOOL giga_ioctl_unregister_event(HANDLE device, uint32_t channel, uint32_t type);
|
||||
GIGA_IOCTL_API BOOL giga_ioctl_get_frame(HANDLE device, uint32_t channel, uint32_t frame_index,
|
||||
void *buffer, uint32_t buffer_size, uint32_t *bytes_returned);
|
||||
|
||||
Reference in New Issue
Block a user