Error Code 1784: The supplied user buffer is not valid for the requested operation. [ERROR_INVALID_USER_BUFFER (0x6F8)]