Skip to content

Latest commit

 

History

History
65 lines (50 loc) · 1.34 KB

embedresource-method.md

File metadata and controls

65 lines (50 loc) · 1.34 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: EmbedResource Method
EmbedResource Method
03/30/2017
IALink.EmbedResource
EmbedResource
alink.dll
COM
EmbedResource
EmbedResource method
667bd954-6dc6-4020-a3cb-0e8224179993
apiref

EmbedResource Method

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.

See also