Skip to content

Latest commit

 

History

History
97 lines (73 loc) · 3.52 KB

nf-mswmdm-imdspstorage2-getattributes2.md

File metadata and controls

97 lines (73 loc) · 3.52 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mswmdm.IMDSPStorage2.GetAttributes2
IMDSPStorage2::GetAttributes2 (mswmdm.h)
The GetAttributes2 method gets attributes of files or storages.
GetAttributes2
GetAttributes2 method [windows Media Device Manager]
GetAttributes2 method [windows Media Device Manager]
IMDSPStorage2 interface
IMDSPStorage2 interface [windows Media Device Manager]
GetAttributes2 method
IMDSPStorage2.GetAttributes2
IMDSPStorage2::GetAttributes2
IMDSPStorage2GetAttributes2
mswmdm/IMDSPStorage2::GetAttributes2
wmdm.imdspstorage2_getattributes2
wmdm\imdspstorage2_getattributes2.htm
WMDM
2db30715-cd49-4e55-b0d0-73ac531f8661
12/05/2018
GetAttributes2, GetAttributes2 method [windows Media Device Manager], GetAttributes2 method [windows Media Device Manager],IMDSPStorage2 interface, IMDSPStorage2 interface [windows Media Device Manager],GetAttributes2 method, IMDSPStorage2.GetAttributes2, IMDSPStorage2::GetAttributes2, IMDSPStorage2GetAttributes2, mswmdm/IMDSPStorage2::GetAttributes2, wmdm.imdspstorage2_getattributes2
mswmdm.h
Windows
Mssachlp.lib
Windows
19H1
IMDSPStorage2::GetAttributes2
mswmdm/IMDSPStorage2::GetAttributes2
c++
APIRef
kbSyntax
COM
mssachlp.lib
mssachlp.dll
IMDSPStorage2.GetAttributes2

IMDSPStorage2::GetAttributes2

-description

The GetAttributes2 method gets attributes of files or storages.

-parameters

-param pdwAttributes [out]

Pointer to a DWORD containing the base attributes as defined in the IWMDMStorage::GetAttributes method.

-param pdwAttributesEx [out]

Pointer to a DWORD containing the extended attributes. Currently no extended attributes are defined.

-param pAudioFormat [out]

Pointer to a _WAVEFORMATEX structure that contains audio format information about the object. This parameter is optional and is ignored if the file is not audio.

-param pVideoFormat [out]

Pointer to a _VIDEOINFOHEADER structure that contains video format information about the object. This parameter is optional and is ignored if the file is not video.

-returns

The method returns an HRESULT. All the interface methods in Windows Media Device Manager can return any of the following classes of error codes:

  • Standard COM error codes
  • Windows error codes converted to HRESULT values
  • Windows Media Device Manager error codes
For an extensive list of possible error codes, see Error Codes.

-remarks

See remarks for IWMDMStorage::GetAttributes.

This method must be implemented. It must not return WMDM_E_NOTSUPPORTED or E_NOTIMPL. For more information, see Mandatory and Optional Interfaces.

-see-also

IMDSPStorage2 Interface

IMDSPStorage2::SetAttributes2