ClassName - The fully qualified class name of your plug-in, including any namespaces. REG_SZ; required.

FriendlyName - The display name for the plug-in; this value is displayed on the Publish menu. REG_SZ; required.

IconPath - The path and resource ID for an icon to display with your plug-in. REG_SZ; optional.

SupportedMediaTypes - The type of media that is supported by the plug-in. Valid values are "Image", "Video", and "Both". Any other value will default to "Both". REG_SZ; optional.

MaxItemCount - The maximum number of items that the plug-in can publish in a session. REG_DWORD; optional.

MaxFileSize - The maximum file size, in bytes, that the plug-in can publish in a session. REG_DWORD; optional.

MaxVideoDuration - The maximum video duration, in milliseconds, that the plug-in can publish in a session. REG_DWORD; optional.

You can also set the default parameters for a plug-in by setting the HKLM\Software\Microsoft\Windows Live\PublishPlugins\PluginId\DefaultParameters registry key. The following table describes the configurable values for this key.

The default resolution width to which images will be set when they are converted from one image format to another, or transcoded, while preserving the aspect ratio. A value of 0 indicates that the original size will be used.

Typically, programs use PreferredVideoBitrate to determine the bit rate at which the video will be encoded before uploading, and use MaxVideoBitrate to determine whether it is necessary to transcode the video.

The preferred frame rate, in frames per 100 seconds, of the video to upload.

Typically, programs use PreferredVideoFramerate to determine the bit rate at which the video will be encoded before uploading, and use MaxVideoFramerate to determine whether it is necessary to transcode the video.

When you create icons for the gallery publishing plug-in, use a 48x48 32-bit Portable Network Graphics (PNG) image type with an 8 bit alpha channel to achieve the highest possible image quality. 16x16, 32x32, 60x60, and 72x72 image types are also supported, but reduce the quality of the icon image. For a particular icon, all of the image types in all sizes must be contained in a single ICO file.

The following example shows a plug-in registry entry that uses the name "Your Publishing Plug-in" for the purpose of demonstration.