I'm trying to translate SHNOTIFICATIONDATA structure from C++ to C#. I found
in www some versions but all of them without the union structure specified
by SOFTKEYMENU and SOFTKEYNOTIFY.
Originally this structure is:
typedef struct _SHNOTIFICATIONDATA{
DWORD cbStruct;
DWORD dwID;
SHNP npPriority;
DWORD csDuration;
HICON hicon;
DWORD grfFlags;
CLSID clsid;
HWND hwndSink;
LPCTSTR pszHTML;
LPCTSTR pszTitle;
LPARAM lParam;
union
{
SOFTKEYMENU skm;
SOFTKEYNOTIFY rgskn[NOTIF_NUM_SOFTKEYS];
}
LPCTSTR pszTodaySK;
LPCTSTR pszTodayExec;
} SHNOTIFICATIONDATA;
SOFTKEYNOTIFY structure is an array with two indexes. I
think the len of SOFTKEYNOTIFY array structure and SOFTKEYMENU structure
must be the same 'cause then begins at the same offset and are followed by
pszTodaySK and pszTodayExec pointers. Someone knows where I can find how
translate this?
Thanks (and sorry if my english is so bad)
Archived from group: microsoft>public>pocketpc>developer>networking