With the subject prefix changed to simply "d3dx9:" this is: Signed-off-by: Matteo Bruni mbruni@codeweavers.com --- Idea for a follow up: some of the resource functions use str / wstr for the resource name, others don't. I don't think it's correct to treat it as a string in general since resources can also be identified by integers (see IS_INTRESOURCE). This is to say, a patch replacing those str / wstr with ptr would be nice...