Microsoft SDK for Java

FindClassEx

Retrieves a class object pointer for a named class, according to the specified flags.

Syntax

ClassClass* __cdecl FindClassEx(char *pszClassName,DWORD dwFlags);

Return Value

Returns a pointer to the class.

Parameters

*pszClassName The name of the class to locate.
dwFlags One of the following flags:

FINDCLASSEX_NOINIT: If the class is a system class, prevents the class’s static initializer from running.

FINDCLASSEX_IGNORECASE: Performs a case-insensitive validation of the class name, as opposed to the case-sensitive validation that normally occurs.

FINDCLASSEX_SYSTEMONLY: Looks only for the named class as a system class.


Remarks

This method is similar to the FindClass method, but accepts arguments to control the class load operation. See also FindClassFromClass.

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