Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#include "shellprv.h"
#pragma hdrstop
#ifdef _X86_
STDAPI PIF_AddPages(IDataObject *pdtobj, LPFNADDPROPSHEETPAGE pfnAddPage, LPARAM lParam) { STGMEDIUM medium; FORMATETC fmte = { CF_HDROP, NULL, DVASPECT_CONTENT, -1, TYMED_HGLOBAL};
HRESULT hr = pdtobj->lpVtbl->GetData(pdtobj, &fmte, &medium); if (SUCCEEDED(hr)) { HDROP hdrop = (HDROP)GlobalLock(medium.hGlobal); if (hdrop) { PifMgrDLL_Init(); // Initialize pif stuff
PifPropGetPages(hdrop, pfnAddPage, lParam); GlobalUnlock(medium.hGlobal); } ReleaseStgMedium(&medium); } return S_OK; }
#endif
|