On 4/24/07, Yuval Fledel yuvalfl@gmail.com wrote:
+#if 0 + /* NULL parameters: All 3 crash as of Windows XP */ + status = pSpLsaModeInitialize(0x10000, NULL, &pTables, &cTables); + status = pSpLsaModeInitialize(0x10000, &Version, NULL, &cTables); + status = pSpLsaModeInitialize(0x10000, &Version, &pTables, NULL); +#endif
We try to avoid #if 0/#endif constructs. Just add a comment that states that the function crashes in XP if any of those three params are NULL.