internals: use ERROR_SUCCESS and ERROR_INSUFICIENT_MEMORY instead of 0/-1
internals: use ERROR_SUCCESS and ERROR_INSUFICIENT_MEMORY instead of 0/-1

neatsun/yara,wxsBSD/yara,binsrc/yara,cblichmann/yara,smaudet/yara,beikezcs/yara,frbapolkosnik/yara,mgoffin/yara,hillu/yara,bmagistro/yara,tdr130/yara,kallanreed/yara,rayyang2000/yara,rednaga/yara,wxsBSD/yara,frbapolkosnik/yara,pombredanne/yara,VirusTotal/yara,VirusTotal/yara,hillu/yara,VirusTotal/yara,rednaga/yara,cblichmann/yara,hillu/yara,MeteorAdminz/yara,mgoffin/yara,pombredanne/yara,neatsun/yara,tdr130/yara,jpypi/yara,jpypi/yara,digideskio/yara,jshufelt/yara,frbapolkosnik/yara,tanium/yara,hillu/yara,Security513/yara,mgoffin/yara,VirusTotal/yara,digideskio/yara,jshufelt/yara,tanium/yara,cblichmann/yara,hillu/yara,kallanreed/yara,MeteorAdminz/yara,Security513/yara,rayyang2000/yara,binsrc/yara,binsrc/yara,mgoffin/yara,wxsBSD/yara,rayyang2000/yara,plusvic/yara,plusvic/yara,rednaga/yara,foreni-packages/yara,bmagistro/yara,VirusTotal/yara,jshufelt/yara,binsrc/yara,pombredanne/yara,frbapolkosnik/yara,foreni-packages/yara,plusvic/yara,beikezcs/yara,jshufelt/yara,cblichmann/yara,smaudet/yara,msuvajac/yara,cblichmann/yara,pombredanne/yara,msuvajac/yara,bmagistro/yara,digideskio/yara,tanium/yara,beikezcs/yara,msuvajac/yara,plusvic/yara,smaudet/yara,neatsun/yara,plusvic/yara,foreni-packages/yara,digideskio/yara,wxsBSD/yara,pombredanne/yara,MeteorAdminz/yara,Security513/yara,tdr130/yara,kallanreed/yara,smaudet/yara,jpypi/yara,wxsBSD/yara