IWMDMOperation::SetObjectAttributes method (mswmdm.h)
The SetObjectAttributes method specifies the file attributes. This method is currently not called by Windows Media Device Manager.
Syntax
HRESULT SetObjectAttributes(
[in] DWORD dwAttributes,
[in] _WAVEFORMATEX *pFormat
);
Parameters
[in] dwAttributes
DWORD specifying the object attributes as defined in the IWMDMStorage::SetAttributes method.
[in] pFormat
Pointer to a _WAVEFORMATEX structure specifying the format for files with audio data attributes. If the file contains audio data, this parameter should be filled.
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. |
Remarks
Audio attributes include the number of samples per second, the number of bytes per sample, and so on.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mswmdm.h |
Library | Mssachlp.lib |