Please report problem to Microsoft.
After they fix their documentation; then I will agree with you.
I have no idea what is correct; but, I think microsoft docs is likely right.
From http://msdn.microsoft.com/en-us/library/ms682583%28VS.85%29.aspx
BOOL WINAPI DllMain(
__in HINSTANCE hinstDLL,
__in DWORD fdwReason,
__in LPVOID lpvReserved
);
Tim S.