You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/platform/windows.rs
+71-1Lines changed: 71 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -660,6 +660,17 @@ impl DeviceIdExtWindows for DeviceId {
660
660
}
661
661
662
662
/// Additional methods on `Icon` that are specific to Windows.
663
+
///
664
+
/// Windows icons can be created from files, or from the [`embedded resources`](https://learn.microsoft.com/en-us/windows/win32/menurc/about-resource-files).
665
+
///
666
+
/// The `ICON` resource definition statement use the following syntax:
667
+
/// ```rc
668
+
/// nameID ICON filename
669
+
/// ```
670
+
/// `nameID` is a unique name or a 16-bit unsigned integer value identifying the resource,
671
+
/// `filename` is the name of the file that contains the resource.
672
+
///
673
+
/// More information about the `ICON` resource can be found at [`Microsoft Learn`](https://learn.microsoft.com/en-us/windows/win32/menurc/icon-resource) portal.
0 commit comments