pszFileName (PSZ) - input

      Pointer to file name.

      A pointer to a zero-terminated string which contains the name of the file whose icon will be loaded.

    fPrivate (BOOL) - input

      Icon usage flag.

      TRUE

        A private copy of this icon is requested. This flag should be used if the application needs to modify the icon.
      FALSE
        A shared pointer to this icon is requested. This flag should be used if application needs to display the icon without modifying it. This should be used whenever possible to optimize system resource use.

      hIcon (HPOINTER) - returns

        Icon handle.

        NULL

          Error occurred.
        OTHER
          Handle to an icon.


        [Back] [Next]