Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Declares an embedded resource. This method does not actually embed the resource.
Syntax
HRESULT EmbedResource(
mdAssembly AssemblyID,
mdToken FileToken,
LPCWSTR pszResourceName,
DWORD dwOffset,
DWORD dwFlags
) PURE;
Parameters
AssemblyID
ID of the assembly.
FileToken
File token or assembly ID of file that contains the resource.
pszResourceName
Name of the resource.
dwOffset
Offset of resource from RVA.
dwFlags
Accessibility flags such as mrPublic and mrPrivate. These flags may be passed to DefineExportedType Method.
Return Value
Returns S_OK if the method succeeds.
Requirements
Requires alink.h.