AfxGetInstanceHandle

Syntax

HANDLE AfxGetInstanceHandle( );

Remarks

Returns a HANDLE to the current instance of the Windows application.

Return Value

A HANDLE to the current instance of the application.