<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def loadSharedResource(self, pchResourceName, pchBuffer, unBufferLen):
 """ Loads the specified resource into the provided buffer if large enough. Returns the size in bytes of the buffer required to hold the specified resource. """


        fn = self.function_table.loadSharedResource
        result = fn(pchResourceName, pchBuffer, unBufferLen)
        return result