add resource api
delete Ptr, PtrToString, StringToPtr
add func RGB functions.
remove not use type LRESULT
delete RGB func
Merge pull request #20 from mycaosf/master

add resource api