Repository navigation
Added ITaskbarList and ITaskbarList2 in shobjidl - #592
Conversation
Connicpu
left a comment
There was a problem hiding this comment.
All of the definitions you added actually belong in shobjidl_core.rs, no shobjidl.rs
| use um::winnt::{HRESULT, LPCWSTR, LPWSTR, WCHAR}; | ||
|
|
||
| DEFINE_GUID!{CLSID_TaskbarList, | ||
| 0x56fdf344, 0xfd6d, 0x11d0, 0x95, 0x8a, 0x00, 0x60, 0x97, 0xc9, 0xa0, 0x90} |
There was a problem hiding this comment.
CLSID_TaskbarList should be defined in shobjidl_core.rs
There was a problem hiding this comment.
@Connicpu so the GUID , ITaskbarList and ITaskbar2List both should added belong to shobjidl_core.rs, not only the GUID, right ?
| psi: IShellItem, | ||
| ) -> HRESULT, | ||
| }); | ||
|
|
| hwnd: HWND, | ||
| fFullscreen: BOOL, | ||
| ) -> HRESULT, | ||
| }); No newline at end of file |
There was a problem hiding this comment.
Don't forget a newline at the end of the file
| ) -> HRESULT, | ||
| }); | ||
|
|
||
| RIDL!( |
There was a problem hiding this comment.
Item level macros should use {} and there should be no newline between RIDL!{ and #[uuid].
|
It should be fine now :) @Connicpu |
|
Looks like it isn't passing CI. Make sure you run |
|
Sorry my bad, just fixed and tested this time. |
|
@edwin0cheng Ah sorry, last little thing! You never fixed the whitespace issues from retep998's comment on your PR |
| //27457 | ||
| pub type IShellItemFilter = IUnknown; // TODO | ||
|
|
||
| RIDL!{ |
There was a problem hiding this comment.
#[uuid] should go on the same line as RIDL!{
|
Fixed :) |
| use um::winnt::{HRESULT, LPWSTR}; | ||
|
|
||
| DEFINE_GUID!{CLSID_TaskbarList, | ||
| 0x56fdf344, 0xfd6d, 0x11d0, 0x95, 0x8a, 0x00, 0x60, 0x97, 0xc9, 0xa0, 0x90} |
There was a problem hiding this comment.
The second line of a DEFINE_GUID should be indented.
|
Indent fixed 👍 |
* Added ITaskbarList and ITaskbarList2 in shobjidl * Move ITaskbarList and ITaskbarList2 to shobjidl_core * Fixed import sorting * Fix formating * Fixed missing indent
This PR added 2 Com Interface ITaskbarList and ITaskbarList2 in shobjidl.