Overview Members Chapter Previous Next

## CDXResource::GetHandle

RESHANDLE GetHandle( | UINT id ) ;

Returns RESHANDLE (which in fact is only index to internal CDXResource tables) ID is generated by ResourceCompiler (and stored in the Directory of ResourceFile). All subsequent operation on files stored in Resource File are based only on RESHANDLE. If the ID is invalid (not found in directory) -1 (which is 0xffffffff for UINT) is returned.