McastEnumerateScopes returns different results on widows7 64bit.
The following code produces different results when executed on a window7 64 bit machine than windows XP:
int
_tmain(intargc,
_TCHAR* argv[])
{
DWORD r, ver, len, cnt;
ver = 0;
PMCAST_SCOPE_ENTRY b;
r = McastApiStartup(&ver);
r = McastEnumerateScopes(AF_INET, TRUE, NULL, &len, &cnt);
b = (PMCAST_SCOPE_ENTRY)
newbyte[len];
memset(b, 0, len);
r = McastEnumerateScopes(AF_INET, TRUE, b, &len, &cnt);
on windows xp the the results match the SDK doc. on windows7, all the data is there but the ScopeDesc field is in a different location and the format of UNICODE_STRING is different. Is this expected? If so there a new SDK for WIN7?
return0;
September 7th, 2012 10:32am
Hi,
Based on my knowledge, SDK may be different between Windows 7 and Windows XP.
Please download Windows SDK for Windows 7 and see how it works.
Details: Windows SDK for Windows 7
If you need further assistance, as the question is related to Windows Development, it is recommended to post questions in
Windows Desktop Development Forum.
Hope this helps.
Jeremy Wu
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2012 10:47pm
Hi,
Based on my knowledge, SDK may be different between Windows 7 and Windows XP.
Please download Windows SDK for Windows 7 and see how it works.
Details: Windows SDK for Windows 7
If you need further assistance, as the question is related to Windows Development, it is recommended to post questions in
Windows Desktop Development Forum.
Hope this helps.
Jeremy Wu
TechNet Community Support
September 10th, 2012 10:51pm
Hi,
Just check if there is any update.
Regards.
Jeremy Wu
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
September 13th, 2012 5:02am