Microsoft SDK for Java

IRemoteClassField::
GetSourceFileName

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.

Syntax

HRESULT GetSourceFileName(LPOLESTR *ppszSourceFileName)

Parameters

[out] ppszSourceFileName Returns the name of the source file that was compiled to create this class.

Return Value

S_OK Success. 

E_FAIL This class has no SourceFile attribute.

E_OUTOFMEMORY Insufficient memory.

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