IPB_Session interface:
GetClassName method
Description
Returns the name of a class in lowercase.
Syntax
GetClassName(pbclass cls)
Argument |
Description |
---|---|
cls |
A valid class handle |
Return Values
LPCTSTR.
Examples
This example gets the name of a class and sets the size of the variable stLength to the length of the returned string plus 1:
LPCTSTR myClassName = session->GetClassName( myClass );
size_t stLength = strlen( (LPSTR)myClassName ) + 1;
Usage
When you have finished using the name, call the ReleaseString method to free the memory acquired.