OSDDoModal

This function displays OSDialog dialog, allows the user to navigate and select file(s) or save user-specified image to a file.

OSDRET OSDDoModal(HANDLE hDialog, HBITMAP hBmp);

Parameters

  • hDialog - Dialog window descriptor.
  • hBmp - If hte image is being saved, this parameter specifies its HBITMAP; NULL if the image is being read.
  • Returned value - Returns operation result of OSDRET type

Sample:

OSDRET osResult=OSDDoModal(hDialog, NULL);