@Retention(value=RUNTIME) @Target(value=METHOD) public @interface VTID
Java doesn't let us obtain the ordinal of a method, so we need to annotate that information explicitly.
int
value
public abstract int value
0 is always QueryInterface, 1 is always AddRef, and 2 is always Release.
Copyright © 2014. All rights reserved.