ITypeInfo::GetNames
(memid, rgbstrNames, cNameMax, lpcName)MEMBERID memid
BSTR FAR* rgbstrNames
unsigned int cNameMax
unsigned int FAR* lpcName Retrieves the variable with the specified member ID, or the name of the property or method and its parameters, corresponding to the specified function ID. Parameters memid ID of member whose name (or names) is to be returned. rgbstrNames Pointer to caller-allocated array. On return, each of these lpcName elements is filled in to point to a BSTR containing the name (or names) associated with the member. cNameMax Length of the passed-in rgbstrNames array. lpcName On return, points to number representing the number of names in rgbstrNames array. Return Value The SCODE obtained from the returned HRESULT is one of the following:
SCODE
| Meaning
|
S_OK
| Success.
|
E_OUTOFMEMORY
| Out of memory.
|
E_INVALIDARG
| One or more of the arguments is invalid.
|
TYPE_E_IOERROR
| The function could not read from the file.
|
TYPE_E_INVDATAREAD
| The function could not read from the file.
|
TYPE_E_UNSUPFORMAT
| The type library has an old format.
|
TYPE_E_INVALIDSTATE
| The type library could not be opened.
|
TYPE_E_WRONGTYPEKIND
| Type mismatch.
|
TYPE_E_ELEMENTNOTFOUND
| The element was not found.
|
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers - More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples - Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database