Anyone know how to send an IOCTL_TDI_TL_IO_CONTROL_ENDPOINT using NtDeviceIoControlFile? I searched and not found any documentation on this subject.
typedef struct _TDI_TL_IO_CONTROL_ENDPOINT {
TDI_TL_IO_CONTROL_TYPE Type;
ULONG Level;
union {
ULONG IoControlCode;
ULONG OptionName;
};
__field_bcount(InputBufferLength) PVOID InputBuffer;
ULONG InputBufferLength;
__field_bcount(OutputBufferLength) PVOID OutputBuffer;
ULONG OutputBufferLength;
} TDI_TL_IO_CONTROL_ENDPOINT, *PTDI_TL_IO_CONTROL_ENDPOINT;
typedef struct _TDI_TL_IO_CONTROL_ENDPOINT {
TDI_TL_IO_CONTROL_TYPE Type;
ULONG Level;
union {
ULONG IoControlCode;
ULONG OptionName;
};
__field_bcount(InputBufferLength) PVOID InputBuffer;
ULONG InputBufferLength;
__field_bcount(OutputBufferLength) PVOID OutputBuffer;
ULONG OutputBufferLength;
} TDI_TL_IO_CONTROL_ENDPOINT, *PTDI_TL_IO_CONTROL_ENDPOINT;