I am trying to create a jump list in Windows 7 for my application using Delphi.
I found this C ++ code, but I'm not sure how to translate it to Delphi, any help?
void CreateJumpList() { ICustomDestinationList *pcdl; HRESULT hr = CoCreateInstance (CLSID_DestinationList, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pcdl)); if (SUCCEEDED(hr)) { hr = pcdl->SetAppID(c_szAppID); if (SUCCEEDED(hr)) { UINT uMaxSlots; IObjectArray *poaRemoved; hr = pcdl->BeginList (&uMaxSlots, IID_PPV_ARGS(&poaRemoved)); if (SUCCEEDED(hr)) { hr = _AddCategoryToList(pcdl, poaRemoved); if (SUCCEEDED(hr)) { pcdl->CommitList(); } poaRemoved->Release(); } } } }
c ++ windows-7 delphi code-conversion jump-list
Mohammed nasman
source share