IStore::GetIDsFromNames (Compact 7)
3/12/2014
The GetIDsFromNames method retrieves the Property IDs for a particular set of named properties.
Syntax
HRESULT GetIDsFromNames(
ULONG cPropNames,
LPCWSTR const* rgszPropNames,
ULONG ulFlags,
CEPROPID* rgPropIds
);
Parameters
- cPropNames
[in] The number of Property IDs you want.
- rgszPropNames
[in] The names of the properties.
- ulFlags
[in] A flag bitmask that indicates how you want the Property IDs returned. Valid values are PIM_CREATE, PIM_INDEXED, and PIM_DONTREPLICATE.
- rgPropIds
[out,retval,size_is(cPropNames)] A pointer to the return buffer that contains the Property IDs.
Return Value
The GetIDsFromNames method returns the following standard HRESULT values.
- S_OK
The operation completed successfully.
- E_FAIL
The operation failed due to an unspecified error.
- E_INVALIDARG
The operation failed because one (or more) of the arguments is not valid.
- E_OUTOFMEMORY
The operation failed because it needs more memory resources.
- E_UNEXPECTED
The operation failed due to an unexpected failure.
Remarks
New for Windows Embedded Compact 7.
Requirements
Header |
pimstore.h |
Library |
Pimstore.lib |