Change type of captureFlags to DWORD

No match.