DXFILELOADRESOURCE structure

Identifies resource data. Deprecated.

Syntax

typedef struct DXFILELOADRESOURCE {
  HMODULE hModule;
  LPCTSTR lpName;
  LPCTSTR lpType;
} DXFILELOADRESOURCE, *LPDXFILELOADRESOURCE;

Members

hModule

Type: HMODULE

Handle of the module containing the resource to be loaded. If this member is NULL, the resource must be attached to the executable file that will use it.

lpName

Type: LPCTSTR

Pointer to a string specifying the name of the resource to be loaded. For example, if the resource is a mesh, this member should specify the name of the mesh file.

lpType

Type: LPCTSTR

Pointer to a string specifying the user-defined type identifying the resource.

Remarks

This structure identifies a resource to be loaded when an application uses the CreateEnumObject method and specifies DXFILELOAD_FROMRESOURCE.

Requirements

Requirement Value
Header
DXFile.h

See also

X File Structures

CreateEnumObject

DXFILE Constants