Hi Doron Holan,
Thanks and Nice to see your reply. I did as per you suggestions, but the issu remains the same.
And one more, I added around 3 tabs in the coinstaller, all the tabs need the device handle to be passed as parameter.
/* Create/Open the Handle to device File */
g1Device = GuidCreateDevice(deviceGUID); // GuidCreateDevice -> calls
params = (DEVICE_PROP_PARAMS *)
HeapAlloc(GetProcessHeap(), 0, sizeof(DEVICE_PROP_PARAMS));
if (params)
{
params->DeviceInfoSet = DeviceInfoSet;
params->DeviceInfoData = DeviceInfoData;
params->Restart = FALSE;
params->g1Device = g1Device;
Context->PrivateData = params->g1Device;
g1Device = Context->PrivateData;
memset(&page, 0, sizeof(PROPSHEETPAGE));
#ifndef hp
page.dwSize = sizeof(PROPSHEETPAGE);
page.dwFlags = PSP_USECALLBACK;
page.hInstance = ModuleInstance;
page.pszTemplate = MAKEINTRESOURCE(DLG_NX_INFO);
page.pfnDlgProc = (DLGPROC)PropPageDlgProcInfo;
page.pfnCallback = PropPageDlgCallback;
page.lParam = (LPARAM)Context->PrivateData;
sprintf(str, “Addprop = %x\n”, (LONG_PTR)g1Device);
OutputDebugStringA(str);
/* Create Information Property Sheet */
pageHandle[count] = CreatePropertySheetPage(&page);
if(!pageHandle[count])
{
nxTraceLogError(“: [Info] Property Sheet not Created\0”, ERROR_LOG);
HeapFree(GetProcessHeap(), 0, params);
return NX_ERROR;
}