IOCtl argument check