Trace/retrace IDirect3DVertexBuffer9 locks
diff --git a/specs/stdapi.py b/specs/stdapi.py
index b099578..ff7508b 100644
--- a/specs/stdapi.py
+++ b/specs/stdapi.py
@@ -401,6 +401,12 @@
     def visit(self, visitor, *args, **kwargs):
         return visitor.visitInterface(self, *args, **kwargs)
 
+    def getMethodByName(self, name):
+        for methods in self.methods:
+            if methods.name == name:
+                return methods
+        return None
+
     def iterMethods(self):
         if self.base is not None:
             for method in self.base.iterMethods():