IWMDMOperation2::SetObjectAttributes2 method (mswmdm.h)
The SetObjectAttributes2 method sets attributes of files or storages. This method is currently not called by Windows Media Device Manager.
Syntax
HRESULT SetObjectAttributes2(
[in] DWORD dwAttributes,
[in] DWORD dwAttributesEx,
[in] _WAVEFORMATEX *pFormat,
[in] _VIDEOINFOHEADER *pVideoFormat
);
Parameters
[in] dwAttributes
Pointer to a DWORD specifying the attributes as defined by the IWMDMStorage::SetAttributes method.
[in] dwAttributesEx
DWORD specifying the extended attributes. No extended attributes are currently defined.
[in] pFormat
Optional pointer to a _WAVEFORMATEX structure that specifies audio information about the object.
[in] pVideoFormat
Optional pointer to a _VIDEOINFOHEADER structure that specifies video information about the object.
Return value
The application should return one of the following HRESULT values.
Return code | Description |
---|---|
|
The read operation should continue. |
|
The read operation should be cancelled without finishing. |
|
An unspecified error occurred, and the read operation should be cancelled without finishing. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mswmdm.h |
Library | Mssachlp.lib |