Reference for Win32_CodecFile
(Diese Seite wurde noch nicht auf das neue Layout umgestellt!)

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Video and Sound

Description (Beschreibung):

The Win32_CodecFile WMI class represents the audio or video codec installed on the computer system. Codecs convert one media format type to another, typically a compressed format to an uncompressed format. The name codec is derived from a combination of compress and decompress. For example, a codec can convert a compressed format such as MS-ADPCM to an uncompressed format such as PCM, which most audio hardware can play directly.

Availability (Verfügbarkeit):

WMI Class NameWindows Server 2003Windows XP ProfessionalWindows 2000Windows NT 4.0Windows 98
Win32_CodecFileYesYesYesYesYes

Properties (Attribute):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
AccessMaskYesYesYesYesYes
ArchiveYesYesYesYesYes
CaptionYesYesYesYesYes
CompressedYesYesYesYesYes
CompressionMethodYesYesYesYesYes
CreationClassNameYesYesYesYesYes
CreationDateYesYesYesYesYes
CSCreationClassNameYesYesYesYesYes
CSNameYesYesYesYesYes
DescriptionYesYesYesYesYes
DriveYesYesYesYesYes
EightDotThreeFileNameYesYesYesYesYes
EncryptedYesYesYesYesYes
EncryptionMethodYesYesYesYesYes
ExtensionYesYesYesYesYes
FileNameYesYesYesYesYes
FileSizeYesYesYesYesYes
FileTypeYesYesYesYesYes
FSCreationClassNameYesYesYesYesYes
FSNameYesYesYesYesYes
GroupYesYesYesYesYes
HiddenYesYesYesYesYes
InstallDateYesYesYesYesYes
InUseCountYesYesYesYesYes
LastAccessedYesYesYesYesYes
LastModifiedYesYesYesYesYes
ManufacturerYesYesYesYesYes
NameYesYesYesYesYes
PathYesYesYesYesYes
ReadableYesYesYesYesYes
StatusYesYesYesYesYes
SystemYesYesYesYesYes
VersionYesYesYesYesYes
WriteableYesYesYesYesYes

Methods (Methoden):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
ChangeSecurityPermissionsYesYesYesYesYes
ChangeSecurityPermissionsExYesYesYesYesYes
CompressYesYesYesYesYes
CompressExYesYesYesYesYes
CopyYesYesYesYesYes
CopyExYesYesYesYesYes
DeleteYesYesYesYesYes
DeleteExYesYesYesYesYes
GetEffectivePermissionYesYesYesYesYes
RenameYesYesYesYesYes
TakeOwnerShipYesYesYesYesYes
TakeOwnerShipExYesYesYesYesYes
UncompressYesYesYesYesYes
UncompressExYesYesYesYesYes

Sample Code (Beispiel):

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_CodecFile")
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption
Next

Links:

Link zur Original-Microsoft-Dokumentation