//use winapi::shared::winerror::*;
use SetLastError;
pub
pub
// XXX: To avoid tripping up other code, this should probably be a scoped thing that also clears the error code
//pub(crate) fn debug_set_last_error_invalid() {
// if cfg!(debug_assertions) {
// //set_last_error(ERROR_INTERNAL_ERROR);
// set_last_error(ERROR_INVALID_FUNCTION);
// }
//}