~~Title: DVP_SetMetaData~~ DVP_SetMetaData && LONG && && lpszName && LPCWSTR && [in] The name of the file && pData && LPDVPSETMETADATA && [in,out] Points to the first of a linked list of **DVPSETMETADATA** structures |**Field**|**Type**|**Description**| |osm_pNext|DVPSetMetaData*|Next structure in the list| |osm_pszAttr|LPCWSTR|Name of the attribute (see below)| |osm_type|DVPMetaType|Type of the data (see below)| |osm_cbSize|DWORD|Size of the data| |osm_pData|DWORD_PTR|The data| |osm_status|DVPMetaStatus|Status for this attribute (see below)| The **DVP_SetMetaData** function is called to set metadata for a file. The following attribute names are defined for //osm_pszAttr//: |DVMETA_RATING|%%L"Opus/Rating"%%| |DVMETA_TAGS|%%L"Opus/Tags"%%| |DVMETA_COMMENT|%%L"Opus/Comment"%%| The //osm_type// field is one of the following **DVPMetaType** values: |MetaType_Remove|Remove this attribute| |MetaType_DWORD| | |MetaType_String| | |MetaType_StringMultiple| | |MetaType_Binary| | |MetaType_Bool| | |MetaType_FILETIME|Local time, not UTC. Previously called **MetaType_QWORD**| The //osm_status// field is one of the following **DVPMetaStatus** values: |MetaStatus_Ok| | |MetaStatus_NotSupported| | |MetaStatus_BadType| | |MetaStatus_Failed| | This function was added in Directory Opus 10 (**VIEWERPLUGINVERSION** 5).