Microsoft SDK for Java

IRemoteClassFieldEx::
GetSourceFileDir

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.

Syntax

HRESULT GetSourceFileDir(LPOLESTR *ppszSourceFileDir)

Parameters

[out] *ppszSourceFileDir Returns the name of the source file directory containing the source file that was compiled to create this class.

Return Value

S_OK Success. 

E_FAIL This class has no SourceDir attribute.

E_OUTOFMEMORY Insufficient memory.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.