winmessage PMM_ADDFILE         ; (ptrOpenFile, hCategory) adds the file to the
                            ; given category and make it the part of the
                            ; project.

winmessage PMM_REMOVEFILE      ; (ptrOpenFile, 0): returns NULL if OK or TRUE if failed.

winmessage PMM_GETMAINFILE     ; returns handle to main filename. You should not delete or
                            ; modify this string in any way.
winmessage PMM_FILECHANGED     ; (ptrFile, 0) - notifies the project manager, that some
                            ; file properties were changed.

winmessage PMM_GETCATEGORY   ; (0, hCategory) returns a list with the files from a given directory.

ProjTreeCtrlID = 1000
ProjListCtrlID = 1001
ProjMainCtrlID = 1002
ProjTargetOS   = 1003
ProjSettingsID = 1004


; format of the project file:

; 0: dword 'FRPR'               string ID
; 4: X dword -1                   offset to the older project options. N = 7-X
;
; 8: compiler options if presented.
;
;
; N:

; X = -1 - sizeof.TCompilerOptions

;



struct TEnvVarType
  .pName dd ?
  .pValue dd ?
ends