COM memory layout and method pointer sizes
===

Suppose I get a pointer to a COM interface in a totally untyped way as just a raw address

    void *p

How do I find the addresses of methods and access them? Is *p the address of the virtual table and then **p is the address of the first method? Are all the pointers involved 32-bit always in COM? So that to find a particular method I just need to index at multiples of 4-bytes into **p assuming I know which index the method will appear at. Is there any potential issue of BIG endian vs LITTLE endian?