MimeOleSetPropA function
Do not use. Sets the value of the specified property.
Syntax
HRESULT MimeOleSetPropA(
_In_ IMimePropertySet *pPropertyset,
_In_ LPCSTR pszName,
_In_ DWORD dwFlags,
_In_ LPCSTR pszData
);
Parameters
-
pPropertyset [in]
-
Type: IMimePropertySet*
Specifies a pointer to an IMimePropertySet object.
-
pszName [in]
-
Type: LPCSTR
Specifies the property name or ID.
-
dwFlags [in]
-
Type: DWORD
Specifies a bitmask that affects how to set the property value. See SetProp.
-
pszData [in]
-
Type: LPCSTR
Specifies the value to set for the property.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates that an unknown error has occurred. |
|
Indicates that an attempt to allocate memory failed. |
|
Indicates that a pointer argument is NULL. See SetProp. |
|
Indicates that the property is read-only, that is, the property has the MPF_READONLY flag set in the property schema. |
|
Indicates that pszName is a new property that contains invalid characters. |
|
Indicates that pszName does not specify an existing property. |
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
Library |
|
DLL |
|