ISMSERVICEINFO

//

// Standard service configuration information structure

//

typedef struct tagISMSERVICEINFO

    DWORD dwSize;                     // Structure size

    DWORD dwVersion;                  // Version information

    DWORD flServiceInfoFlags;         // ISMI_ flags

    ULONGLONG ullDiscoveryMask;       // InetSloc mask (if necessary)

    COLORREF rgbButtonBkMask;         // Toolbar button bitmap background mask

    UINT nButtonBitmapID;             // Toolbar button bitmap resource ID

    COLORREF rgbServiceBkMask;        // Service bitmap background mask

    UINT nServiceBitmapID;            // Service bitmap resource ID

    TCHAR atchShortName[MAX_SNLEN+1]; // The name as it appears in the menu

    TCHAR atchLongName[MAX_LNLEN+1];  // The name as it appears in tool tips

} ISMSERVICEINFO, *PISMSERVICEINFO; 

 

The ISMSERVICEINFO structure specifies information about the service, including its name and a description text, and bitmap identifiers and background masks for the toolbar button and service view bitmaps. These two bitmaps can be the same bitmap resource. The background masks refer to the color in the bitmap that is designated as the transparent color. The flServiceInfoFlags is made up of bits which specify the supported features. (See the ISMI_ flag definitions above). The ullDiscoveryMask is the mask used for INETSLOC discovery, if supported, and should be zero, if INETSLOC discovery is not supported.