Required Libraries and Headers for a Service Provider
This is preliminary documentation and subject to change.
This topic documents a feature of the Windows Media Device Manager SDK. We recommend that you migrate your application to use the Windows Portable Devices API. For more information, see the Windows Portable Devices SDK.
This section lists the libraries, header files or IDL files you will need to include to develop a Windows Media Device Manager application or plug-in. As mentioned in Compiling the IDL Files Supplied with the SDK, the SDK includes both IDL files and prebuilt header files, and your application can use either. (Note that some header files do not have corresponding IDL files, and you cannot build them yourself.) If building your own IDL files, include the dependencies listed in Compiling the IDL Files Supplied with the SDK.
Not all applications will require all files; read the description to learn if your application requires a file.
Prebuilt header or library | Equivalent IDL | Description |
mssachlp.lib | none | Required by all service providers. Defines Windows Media Device Manager objects. |
initguid.h | none (Platform SDK header) | Required by all service providers to define the GUID values using the prebuilt Mswmdm.h file. You must include initguid.h once and only once in your project. This header redefines the DEFINE_GUID macro to avoid external GUID naming problems. |
mswmdm.h | WMDM.idl
WMSP.idl icomponentauthenticate.idl |
Required by all service providers. Defines all the service provider interfaces, structures, metadata, error codes, and other constants. |
sac.h | none | Required by all service providers. Defines SAC protocols. |
scserver.h | none | Required by all service providers. Declares the CSecureChannelServer class. |
wmdmlog.h
wmdmlog_i.c |
Wmdmlog.idl | Required by service providers that use the IWMDMLogger interface. |
wmsdk.h | none (provided by Windows Media Format SDK) | Required for service providers that use Windows Media Format SDK methods. |
wmvcore.lib | none | Required by service providers that use Windows Media Format SDK objects or functions. |
mmreg.h | none (Platform SDK header) | Required by service providers that reference various standard Windows Media format definitions, such as WAVEFORMATEX. |
MtpExt.h | none | Required for service providers that handle IMDSPDevice3::DeviceIoControl on MTP devices. Defines various standard MTP constants and structures. |
Key.c | none | Defines a key and certificate from Microsoft. The version shipped with the SDK includes a test dummy key that will allow the use of non-DRM protected Windows Media files. |
See Also