The GetSourceFileName method of the IRemoteClassField interface returns the source file attribute (SourceFile) from the class file. The source file for HelloWorld.class might be HelloWorld.java, for example.
HRESULT GetSourceFileName(LPOLESTR *ppszSourceFileName)
[out] ppszSourceFileName | Returns the name of the source file that was compiled to create this class. |
S_OK Success.
E_FAIL This class has no SourceFile attribute.
E_OUTOFMEMORY Insufficient memory.