33 static const WCHAR atl100W[] = {
'a',
't',
'l',
'1',
'0',
'0',
'.',
'd',
'l',
'l',0};
34 static const WCHAR regtypeW[] = {
'W',
'I',
'N',
'E',
'_',
'R',
'E',
'G',
'I',
'S',
'T',
'R',
'Y',0};
49 if (!pAtlCreateRegistrar)
59 info->result = pAtlCreateRegistrar( &
info->registrar );
67 return info->registrar;
89 if (
info->do_register)
90 info->result = IRegistrar_StringRegister(
info->registrar,
buffer );
92 info->result = IRegistrar_StringUnregister(
info->registrar,
buffer );
106 if (
info.registrar) IRegistrar_Release(
info.registrar );
118 if (
info.registrar) IRegistrar_Release(
info.registrar );
static HRESULT(WINAPI *pAtlCreateRegistrar)(IRegistrar **)
DWORD WINAPI GetModuleFileNameW(HINSTANCE hModule, LPWSTR lpFilename, DWORD nSize)
static BOOL CALLBACK register_resource(HMODULE module, LPCWSTR type, LPWSTR name, LONG_PTR arg)
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
static IRegistrar * create_registrar(HMODULE inst, struct reg_info *info)
HRESULT __wine_unregister_resources(HMODULE module)
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
static const WCHAR regtypeW[]
BOOL WINAPI EnumResourceNamesW(HMODULE hmod, LPCWSTR type, ENUMRESNAMEPROCW lpfun, LONG_PTR lparam)
static const WCHAR atl100W[]
HRESULT __wine_register_resources(HMODULE module)
DWORD WINAPI SizeofResource(HINSTANCE hModule, HRSRC hRsrc)
#define MultiByteToWideChar
static const WCHAR moduleW[]
#define GetProcAddress(x, y)
GLuint GLuint GLsizei GLenum type
#define HeapFree(x, y, z)