The GetSourceFileDir method of the IRemoteClassFieldEx interface returns the source file directory attribute (SourceDir) from the class file. The source file directory for HelloWorld.class might be C:\HelloWorld, for example.
HRESULT GetSourceFileDir(LPOLESTR *ppszSourceFileDir)
[out] *ppszSourceFileDir | Returns the name of the source file directory containing the source file that was compiled to create this class. |
S_OK Success.
E_FAIL This class has no SourceDir attribute.
E_OUTOFMEMORY Insufficient memory.