Start of passing pointer to window proc.