시리얼
Language & API/WIN API
2017. 4. 10.
SetCommMask 함수
Specifies a set of events to be monitored for a communications device. 통신 장치에 대해 모니터 될 이벤트 세트를 지정합니다. Syntax C++ 1234BOOL WINAPI SetCommMask( _In_ HANDLE hFile, // CreateFile HANDLE _In_ DWORD dwEvtMask // EV_BREAK, EV_CTS, EV_DSR, EV_ERR, EV_RING, EV_RLSD, EV_RXCHAR, EV_RXFLAG, EV_TXEMPTY);Colored by Color Scriptercs hFile [in] A handle to the communications device. The CreateFile function retu..