Note This argument must be set to null, as WMStubDRM.lib contains the certificate.
The following example shows how you can create a DRM-enabled writer.
IWMWriter* pWriter = NULL; WMCreateWriter(NULL, &pWriter);