ReactOS 0.4.16-dev-2135-g2f5a67f
dummy.c File Reference
#include <windows.h>
Include dependency graph for dummy.c:

Go to the source code of this file.

Functions

BOOL WINAPI DllMain (HINSTANCE instance_new, DWORD reason, LPVOID reserved)
 
void WINAPI get_path (char *buffer, int buffer_size)
 

Variables

static HINSTANCE instance
 

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  instance_new,
DWORD  reason,
LPVOID  reserved 
)

Definition at line 27 of file dummy.c.

28{
29 switch (reason)
30 {
32 instance = instance_new;
33 break;
34 }
35
36 return TRUE;
37}
#define TRUE
Definition: types.h:120
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1904
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
static HINSTANCE instance
Definition: dummy.c:25

◆ get_path()

void WINAPI get_path ( char buffer,
int  buffer_size 
)

Definition at line 39 of file dummy.c.

40{
42}
DWORD WINAPI GetModuleFileNameA(HINSTANCE hModule, LPSTR lpFilename, DWORD nSize)
Definition: loader.c:539
GLuint buffer
Definition: glext.h:5915
wchar_t const *const size_t const buffer_size
Definition: stat.cpp:95

Variable Documentation

◆ instance

HINSTANCE instance
static

Definition at line 25 of file dummy.c.

Referenced by DllMain(), and get_path().