Структура для оповещения.
typedef struct _tagSCREADERS_SCANER_PROC_PARAM { HWND hWnd; DWORD dwReadersCount; LPSCARD_READERSTATE lpReaderState; UINT nMessage; WPARAM wpCardPutInValue; WPARAM wpCardTakeOutValue; HANDLE* lphExitEvent; } SCREADERS_SCANER_PROC_PARAM, *LP_SCREADERS_SCANER_PROC_PARAM;