d3dretrace: Cope with _MAP_FLAG_DO_NOT_WAIT flags.

If the map succeeded in the original trace, then we must wait.
diff --git a/specs/stdapi.py b/specs/stdapi.py
index b86668b..c652736 100644
--- a/specs/stdapi.py
+++ b/specs/stdapi.py
@@ -385,6 +385,12 @@
     def argNames(self):
         return [arg.name for arg in self.args]
 
+    def getArgByName(self, name):
+        for arg in self.args:
+            if arg.name == name:
+                return arg
+        return None
+
 
 def StdFunction(*args, **kwargs):
     kwargs.setdefault('call', '__stdcall')