get_window_thread_process_identity


unsigned get_window_thread_process_identity(handle window,
                                            unsigned* process)

This function obtains the identity of the process and thread that created the window.

Parameters

handle window

The handle of the window.

unsigned* process

A pointer to a variable to hold the identity of the process that created the window. If null is specified, no process identity is returned.

Return

unsigned

The identity of the thread that created the window.