Ciao a tutti,
solo un chiarimento:
typedef struct _OVERLAPPED {
ULONG_PTR Internal;
ULONG_PTR InternalHigh;
union {
struct {
DWORD Offset;
DWORD OffsetHigh;
};
PVOID Pointer;
};
HANDLE hEvent;
} OVERLAPPED,
*LPOVERLAPPED;
in questa struttura:
1) posso accedere per es a Internal con LPOVERLAPPED->Internal giusto?
2) La Union mi dice che posso accedere separatamente o a PVOID Pointer o a DWORD Offset e DWORD OffsetHigh (e a questi due si dovrebbe poter accedere contemporaneamente in quanto membri di una struct)....e corretto?
Grazie per le delucidazioni....Saluti!
![]()