FBadReadPtr

BOOL FBadReadPtr(
  CONST VOID * lpvPtr,   
  UINT cbBytes           
)
 

Limitations

The FBadReadPtr function behaves as does the IsBadReadPtr function but returns FALSE if the cbBytes parameter is zero regardless of the value of the lpvPtr parameter. This matches the behavior of Win32 IsBadReadPtr, rather than Win16 IsBadReadPtr.