Sure, feel free to change it back when it's checked in. Thanks, James
-----Original Message----- From: Sean Hefty [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 1:01 PM To: James Yang; [email protected] Subject: RE: [ofw] Prefast patch - ObReferenceObjectByHandle( h_user_wait_obj, STANDARD_RIGHTS_ALL, - *ExEventObjectType, UserMode, (PVOID*)&h_kevent, NULL ); + // Supressing Prefast Warning details are: + // warning 8126 : The AccessMode parameter to ObReferenceObject* should be IRP->RequestorMode.. + // Path includes 7 statements on the following lines: + #pragma prefast(suppress:8126, "Suprressing next line for Prefast warning for reason mentioned above in comments") + ObReferenceObjectByHandle( h_user_wait_obj, STANDARD_RIGHTS_ALL, *ExEventObjectType, UserMode, (PVOID*)&h_kevent, NULL ); There's no need to reformat the ObReferenceObjectByHandle() call. The previous formatting was more readable. The change makes a single line 133 columns wide, which scrolls off the edge of my screen. - Sean _______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
