The DD_ATTACHLIST structure maintains a list of attached surfaces for DirectDraw.
typedef struct _DD_ATTACHLIST { PDD_ATTACHLIST lpLink; PDD_SURFACE_LOCAL lpAttached; } DD_ATTACHLIST;
Defined in ddrawint.h. Include winddi.h.