ole32: Add pointer check.