Example: IN_GetDocwinIDFromHWnd

 

IN_DOCWIN lDocwinID;

 

/* Get the document window ID that corresponds to the specified window handle */

if ( ( nError = IN_GetDocwinIDFromHWnd( hWnd, &lDocwinID ) ) != IN_SUCCESS )

 {

  ErrorHandler ( nError, "Error message:" );

 }