Windows Dev Center

Attribute List

The predefined attributes included with this SDK are presented alphabetically in the following table. Each attribute has a name, a global identifier, and a data type as defined by the appropriate member of the WMT_ATTR_DATATYPE enumeration. Some attributes do not use a simple data type, or are formatted according to a structure. Entries for these attributes list a structure name in the data-type column with the data type used to set the value in parentheses.

Note  See DRM Attribute List for a table of all the DRM-related attributes.

When you are programming with these attributes, you should use the global identifier rather than using the name as a string literal. By using the global identifier, any typographical errors will result in an error at compile time.

Attribute name Global identifier Data type
ASFLeakyBucketPairs g_wszASFLeakyBucketPairsWMT_TYPE_BINARY
AspectRatioX g_wszWMAspectRatioXWMT_TYPE_DWORD
AspectRatioY g_wszWMAspectRatioYWMT_TYPE_DWORD
Author g_wszWMAuthorWMT_TYPE_STRING
AverageLevel g_wszAverageLevelWMT_TYPE_DWORD
BannerImageData g_wszWMBannerImageDataWMT_TYPE_BINARY
BannerImageType g_wszWMBannerImageTypeWMT_TYPE_DWORD
BannerImageURL g_wszWMBannerImageURLWMT_TYPE_STRING
Bitrate g_wszWMBitrateWMT_TYPE_DWORD
Broadcast g_wszWMBroadcastWMT_TYPE_BOOL
BufferAverage g_wszBufferAverageWMT_TYPE_DWORD
Can_Skip_Backward g_wszWMSkipBackwardWMT_TYPE_BOOL
Can_Skip_Forward g_wszWMSkipForwardWMT_TYPE_BOOL
Copyright g_wszWMCopyrightWMT_TYPE_STRING
CopyrightURL g_wszWMCopyrightURLWMT_TYPE_STRING
CurrentBitrate g_wszWMCurrentBitrateWMT_TYPE_DWORD
Description g_wszWMDescriptionWMT_TYPE_STRING
DRM_ContentID g_wszWMDRM_ContentIDWMT_TYPE_STRING
DRM_DRMHeader_ContentDistributor g_wszWMDRM_DRMHeader_ContentDistributorWMT_TYPE_STRING
DRM_DRMHeader_ContentID g_wszWMDRM_DRMHeader_ContentIDWMT_TYPE_STRING
DRM_DRMHeader_IndividualizedVersion g_wszWMDRM_DRMHeader_IndividualizedVersionWMT_TYPE_STRING
DRM_DRMHeader_KeyID g_wszWMDRM_DRMHeader_KeyIDWMT_TYPE_STRING
DRM_DRMHeader_LicenseAcqURL g_wszWMDRM_DRMHeader_LicenseAcqURLWMT_TYPE_STRING
DRM_DRMHeader_SubscriptionContentID g_wszWMDRM_DRMHeader_SubscriptionContentIDWMT_TYPE_STRING
DRM_DRMHeader g_wszWMDRM_DRMHeaderWMT_TYPE_STRING
DRM_IndividualizedVersion g_wszWMDRM_IndividualizedVersionWMT_TYPE_STRING
DRM_KeyID g_wszWMDRM_KeyIDWMT_TYPE_STRING
DRM_LASignatureCert g_wszWMDRM_LASignatureCertWMT_TYPE_STRING
DRM_LASignatureLicSrvCert g_wszWMDRM_LASignatureLicSrvCertWMT_TYPE_STRING
DRM_LASignaturePrivKey g_wszWMDRM_LASignaturePrivKeyWMT_TYPE_STRING
DRM_LASignatureRootCert g_wszWMDRM_LASignatureRootCertWMT_TYPE_STRING
DRM_LicenseAcqURL g_wszWMDRM_LicenseAcqURLWMT_TYPE_STRING
DRM_LicenseID g_wszWMDRM_LicenseIDWMT_TYPE_STRING
DRM_SourceID g_wszWMDRM_SourceIDWMT_TYPE_DWORD
DRM_V1LicenseAcqURL g_wszWMDRM_V1LicenseAcqURLWMT_TYPE_STRING
Duration g_wszWMDurationWMT_TYPE_QWORD
FileSize g_wszWMFileSizeWMT_TYPE_QWORD
HasArbitraryDataStream g_wszWMHasArbitraryDataStreamWMT_TYPE_BOOL
HasAttachedImages g_wszWMHasAttachedImagesWMT_TYPE_BOOL
HasAudio g_wszWMHasAudioWMT_TYPE_BOOL
HasFileTransferStream g_wszWMHasFileTransferStreamWMT_TYPE_BOOL
HasImage g_wszWMHasImageWMT_TYPE_BOOL
HasScript g_wszWMHasScriptWMT_TYPE_BOOL
HasVideo g_wszWMHasVideoWMT_TYPE_BOOL
Is_Protected g_wszWMProtectedWMT_TYPE_BOOL
Is_Trusted g_wszWMTrustedWMT_TYPE_BOOL
ISAN g_wszISANWMT_TYPE_STRING
IsVBR g_wszWMIsVBRWMT_TYPE_BOOL
NSC_Address g_wszWMNSCAddressWMT_TYPE_STRING
NSC_Description g_wszWMNSCDescriptionWMT_TYPE_STRING
NSC_Email g_wszWMNSCEmailWMT_TYPE_STRING
NSC_Name g_wszWMNSCNameWMT_TYPE_STRING
NSC_Phone g_wszWMNSCPhoneWMT_TYPE_STRING
NumberOfFrames g_wszWMNumberOfFramesWMT_TYPE_QWORD
OptimalBitrate g_wszWMOptimalBitrateWMT_TYPE_DWORD
PeakValue g_wszPeakValueWMT_TYPE_DWORD
Rating g_wszWMRatingWMT_TYPE_STRING
Seekable g_wszWMSeekableWMT_TYPE_BOOL
Signature_Name g_wszWMSignature_NameWMT_TYPE_STRING
Stridable g_wszWMStridableWMT_TYPE_BOOL
Title g_wszWMTitleWMT_TYPE_STRING
VBRPeak g_wszVBRPeakWMT_TYPE_DWORD
WM/AlbumArtist g_wszWMAlbumArtistWMT_TYPE_STRING
WM/AlbumCoverURL g_wszWMAlbumCoverURLWMT_TYPE_STRING
WM/AlbumTitle g_wszWMAlbumTitleWMT_TYPE_STRING
WM/ASFPacketCount g_wszWMASFPacketCountWMT_TYPE_QWORD
WM/ASFSecurityObjectsSize g_wszWMASFSecurityObjectsSizeWMT_TYPE_QWORD
WM/AudioFileURL g_wszWMAudioFileURLWMT_TYPE_STRING
WM/AudioSourceURL g_wszWMAudioSourceURLWMT_TYPE_STRING
WM/AuthorURL g_wszWMAuthorURLWMT_TYPE_STRING
WM/BeatsPerMinute g_wszWMBeatsPerMinuteWMT_TYPE_STRING
WM/Category g_wszWMCategoryWMT_TYPE_STRING
WM/Codec g_wszWMCodecWMT_TYPE_STRING
WM/Composer g_wszWMComposerWMT_TYPE_STRING
WM/Conductor g_wszWMConductorWMT_TYPE_STRING
WM/ContainerFormat g_wszWMContainerFormatWMT_STORAGE_FORMAT (WMT_TYPE_BINARY)
WM/ContentDistributor g_wszWMContentDistributorWMT_TYPE_STRING
WM/ContentGroupDescription g_wszWMContentGroupDescriptionWMT_TYPE_STRING
WM/Director g_wszWMDirectorWMT_TYPE_STRING
WM/DRM g_wszWMDRMWMT_TYPE_STRING
WM/DVDID g_wszWMDVDIDWMT_TYPE_STRING
WM/EncodedBy g_wszWMEncodedByWMT_TYPE_STRING
WM/EncodingSettings g_wszWMEncodingSettingsWMT_TYPE_STRING
WM/EncodingTime g_wszWMEncodingTimeFILETIME (WMT_TYPE_QWORD)
WM/Genre g_wszWMGenreWMT_TYPE_STRING
WM/GenreID g_wszWMGenreIDWMT_TYPE_STRING
WM/InitialKey g_wszWMInitialKeyWMT_TYPE_STRING
WM/ISRC g_wszWMISRCWMT_TYPE_STRING
WM/Language g_wszWMLanguageWMT_TYPE_STRING
WM/Lyrics g_wszWMLyricsWMT_TYPE_STRING
WM/Lyrics_Synchronised g_wszWMLyrics_SynchronisedWM_SYNCHRONISED_LYRICS (WMT_TYPE_BINARY)
WM/MCDI g_wszWMMCDIWMT_TYPE_BINARY
WM/MediaClassPrimaryID g_wszWMMediaClassPrimaryIDWMT_TYPE_GUID
WM/MediaClassSecondaryID g_wszWMMediaClassSecondaryIDWMT_TYPE_GUID
WM/MediaCredits g_wszWMMediaCreditsWMT_TYPE_STRING
WM/MediaIsDelay g_wszWMMediaIsDelayWMT_TYPE_BOOL
WM/MediaIsFinale g_wszWMMediaIsFinaleWMT_TYPE_BOOL
WM/MediaIsLive g_wszWMMediaIsLiveWMT_TYPE_BOOL
WM/MediaIsPremiere g_wszWMMediaIsPremiereWMT_TYPE_BOOL
WM/MediaIsRepeat g_wszWMMediaIsRepeatWMT_TYPE_BOOL
WM/MediaIsSAP g_wszWMMediaIsSAPWMT_TYPE_BOOL
WM/MediaIsStereo g_wszWMMediaIsStereoWMT_TYPE_BOOL
WM/MediaIsSubtitled g_wszWMMediaIsSubtitledWMT_TYPE_BOOL
WM/MediaIsTape g_wszWMMediaIsTapeWMT_TYPE_BOOL
WM/MediaNetworkAffiliation g_wszWMMediaNetworkAffiliationWMT_TYPE_STRING
WM/MediaOriginalBroadcastDateTime g_wszWMMediaOriginalBroadcastDateTimeWMT_TYPE_STRING
WM/MediaOriginalChannel g_wszWMMediaOriginalChannelWMT_TYPE_STRING
WM/MediaStationCallSign g_wszWMMediaStationCallSignWMT_TYPE_STRING
WM/MediaStationName g_wszWMMediaStationNameWMT_TYPE_STRING
WM/ModifiedBy g_wszWMModifiedByWMT_TYPE_STRING
WM/Mood g_wszWMMoodWMT_TYPE_STRING
WM/OriginalAlbumTitle g_wszWMOriginalAlbumTitleWMT_TYPE_STRING
WM/OriginalArtist g_wszWMOriginalArtistWMT_TYPE_STRING
WM/OriginalFilename g_wszWMOriginalFilenameWMT_TYPE_STRING
WM/OriginalLyricist g_wszWMOriginalLyricistWMT_TYPE_STRING
WM/OriginalReleaseTime g_wszWMOriginalReleaseTimeWMT_TYPE_STRING
WM/OriginalReleaseYear g_wszWMOriginalReleaseYearWMT_TYPE_STRING
WM/ParentalRating g_wszWMParentalRatingWMT_TYPE_STRING
WM/ParentalRatingReason g_wszWMParentalRatingReasonWMT_TYPE_STRING
WM/PartOfSet g_wszWMPartOfSetWMT_TYPE_STRING
WM/PeakBitrate g_wszWMPeakBitrateWMT_TYPE_DWORD
WM/Period g_wszWMPeriodWMT_TYPE_STRING
WM/Picture g_wszWMPictureWM_PICTURE (WMT_TYPE_BINARY)
WM/PlaylistDelay g_wszWMPlaylistDelayWMT_TYPE_STRING
WM/Producer g_wszWMProducerWMT_TYPE_STRING
WM/PromotionURL g_wszWMPromotionURLWMT_TYPE_STRING
WM/ProtectionType g_wszWMProtectionTypeWMT_TYPE_STRING
WM/Provider g_wszWMProviderWMT_TYPE_STRING
WM/ProviderCopyright g_wszWMProviderCopyrightWMT_TYPE_STRING
WM/ProviderRating g_wszWMProviderRatingWMT_TYPE_STRING
WM/ProviderStyle g_wszWMProviderStyleWMT_TYPE_STRING
WM/Publisher g_wszWMPublisherWMT_TYPE_STRING
WM/RadioStationName g_wszWMRadioStationNameWMT_TYPE_STRING
WM/RadioStationOwner g_wszWMRadioStationOwnerWMT_TYPE_STRING
WM/SharedUserRating g_wszWMSharedUserRatingWMT_TYPE_DWORD
WM/StreamTypeInfo g_wszWMStreamTypeInfoWM_STREAM_TYPE_INFO (WMT_TYPE_BINARY)
WM/SubscriptionContentID g_wszWMSubscriptionContentIDWMT_TYPE_STRING
WM/SubTitle g_wszWMSubTitleWMT_TYPE_STRING
WM/SubTitleDescription g_wszWMSubTitleDescriptionWMT_TYPE_STRING
WM/Text g_wszWMTextWM_USER_TEXT (WMT_TYPE_BINARY)
WM/ToolName g_wszWMToolNameWMT_TYPE_STRING
WM/ToolVersion g_wszWMToolVersionWMT_TYPE_STRING
WM/Track g_wszWMTrackWMT_TYPE_STRING
WM/TrackNumber g_wszWMTrackNumberWMT_TYPE_STRING
WM/UniqueFileIdentifier g_wszWMUniqueFileIdentifierWMT_TYPE_STRING
WM/UserWebURL g_wszWMUserWebURLWM_USER_WEB_URL (WMT_TYPE_BINARY)
WM/VideoClosedCaptioning g_wszWMVideoClosedCaptioningWMT_TYPE_BOOL
WM/VideoFrameRate g_wszWMVideoFrameRateWMT_TYPE_DWORD
WM/VideoHeight g_wszWMVideoHeightWMT_TYPE_DWORD
WM/VideoWidth g_wszWMVideoWidthWMT_TYPE_DWORD
WM/WMADRCAverageReference g_wszWMWMADRCAverageReferenceWMT_TYPE_DWORD
WM/WMADRCAverageTarget g_wszWMWMADRCAverageTargetWMT_TYPE_DWORD
WM/WMADRCPeakReference g_wszWMWMADRCPeakReferenceWMT_TYPE_DWORD
WM/WMADRCPeakTarget g_wszWMWMADRCPeakTargetWMT_TYPE_DWORD
WM/WMCollectionGroupID g_wszWMWMCollectionGroupIDWMT_TYPE_GUID
WM/WMCollectionID g_wszWMWMCollectionIDWMT_TYPE_GUID
WM/WMContentID g_wszWMWMContentIDWMT_TYPE_GUID
WM/WMShadowFileSourceDRMType g_wszWMWMShadowFileSourceDRMTypeWMT_TYPE_STRING
WM/WMShadowFileSourceFileType g_wszWMWMShadowFileSourceFileTypeWMT_TYPE_STRING
WM/Writer g_wszWMWriterWMT_TYPE_STRING
WM/Year g_wszWMYearWMT_TYPE_STRING

 

Remarks

The following constants are defined with the attributes. Each one indicates the number of a specific type of attribute. You do not need to use these values for anything in your applications.

Constant Value
g_dwWMSpecialAttributes20
g_dwWMContentAttributes5
g_dwWMNSCAttributes5

 

Related topics

Attributes

 

 

Community Additions

ADD
Show:
© 2015 Microsoft