get_window_module_file_name


template<class character>
unsigned get_window_module_file_name(handle window,
                                     character* file_name,
                                     unsigned size)

This function obtains the path name of the module associated with a window.

Parameters

handle window

The handle of the window.

character* file_name

A pointer to a buffer to hold the path name of the module associated with the window.

unsigned size

The size (in characters) of the buffer provided by the previous parameter.

Return

unsigned

The number of characters copied to the specified buffer.