rtoss - Blame information for rev 182

Subversion Repositories:
Rev:
Rev Author Line No. Line
181 roytam 1 #ifndef __IPC_PE_H
2 #define __IPC_PE_H
3  
4 #define IPC_PE_GETCURINDEX        100 // returns current idx
5 #define IPC_PE_GETINDEXTOTAL      101 // returns number of items
6 #define IPC_PE_GETINDEXINFO       102 // (copydata) lpData is of type callbackinfo, callback is called with copydata/fileinfo structure and msg IPC_PE_GETINDEXINFORESULT
7 #define IPC_PE_GETINDEXINFORESULT 103 // callback message for IPC_PE_GETINDEXINFO
8 #define IPC_PE_DELETEINDEX        104 // lParam = index
9 #define IPC_PE_SWAPINDEX          105 // (lParam & 0xFFFF0000) >> 16 = from, (lParam & 0xFFFF) = to
10 #define IPC_PE_INSERTFILENAME     106 // (copydata) lpData is of type fileinfo
11 #define IPC_PE_GETDIRTY           107 // returns 1 if the playlist changed since the last IPC_PE_SETCLEAN
12 #define IPC_PE_SETCLEAN           108 // resets the dirty flag until next modification
13 #define IPC_PE_GETIDXFROMPOINT    109 // pass a point parm, return a playlist index
14 #define IPC_PE_SAVEEND            110 // pass index to save from
15 #define IPC_PE_RESTOREEND         111 // no parm
182 roytam 16 #define IPC_PE_GETNEXTSELECTED    112 // same as IPC_PLAYLIST_GET_NEXT_SELECTED for the main window
17 #define IPC_PE_GETSELECTEDCOUNT   113
18 #define IPC_PE_INSERTFILENAMEW  114 // (copydata) lpData is of type fileinfoW
19 #define IPC_PE_GETINDEXINFO_TITLE 115 // like IPC_PE_GETINDEXINFO, but writes the title to char file[MAX_PATH] instead of filename
20 #define IPC_PE_GETINDEXINFORESULT_TITLE 116 // callback message for IPC_PE_GETINDEXINFO
181 roytam 21 typedef struct {
22         char file[MAX_PATH];
23         int index;
24         } fileinfo;
25  
26 typedef struct {
182 roytam 27         wchar_t file[MAX_PATH];
28         int index;
29         } fileinfoW;
30  
31 typedef struct {
181 roytam 32         HWND callback;
33         int index;
34         } callbackinfo;
35  
36 // the following messages are in_process ONLY
37  
38 #define IPC_PE_GETINDEXTITLE      200 // lParam = pointer to fileinfo2 struct
182 roytam 39 #define IPC_PE_GETINDEXTITLEW      201 // lParam = pointer to fileinfo2W struct
40 #define IPC_PE_GETINDEXINFO_INPROC      202 // lParam = pointer to fileinfo struct
41 #define IPC_PE_GETINDEXINFOW_INPROC      203 // lParam = pointer to fileinfoW struct
181 roytam 42  
43 typedef struct {
44   int fileindex;
45   char filetitle[256];
46   char filelength[16];
47   } fileinfo2;
48  
182 roytam 49 typedef struct
50 {
51   int fileindex;
52   wchar_t filetitle[256];
53   wchar_t filelength[16];
54   } fileinfo2W;
55  
181 roytam 56 #endif