ReactOS  0.4.15-dev-5097-g328cc41
iernonce_undoc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef VOID(CALLBACKRUNONCEEX_CALLBACK) (_In_ UINT CompleteCnt, _In_ UINT TotalCnt, _In_ DWORD_PTR dwReserved)
 

Functions

VOID WINAPI InitCallback (_In_ RUNONCEEX_CALLBACK Callback, _In_ BOOL bSilence)
 
VOID WINAPI RunOnceExProcess (_In_ HWND hwnd, _In_ HINSTANCE hInst, _In_ LPCSTR pszCmdLine, _In_ int nCmdShow)
 

Typedef Documentation

◆ RUNONCEEX_CALLBACK

typedef VOID(CALLBACK * RUNONCEEX_CALLBACK) (_In_ UINT CompleteCnt, _In_ UINT TotalCnt, _In_ DWORD_PTR dwReserved)

Definition at line 9 of file iernonce_undoc.h.

Function Documentation

◆ InitCallback()

VOID WINAPI InitCallback ( _In_ RUNONCEEX_CALLBACK  Callback,
_In_ BOOL  bSilence 
)

Definition at line 56 of file iernonce.cpp.

58 {
60  g_bSilence = bSilence;
61 }
BOOL g_bSilence
Definition: iernonce.cpp:12
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Definition: wdfinterrupt.h:456
RUNONCEEX_CALLBACK g_Callback
Definition: iernonce.cpp:11

Referenced by BlpFileRegisterFileSystem().

◆ RunOnceExProcess()

VOID WINAPI RunOnceExProcess ( _In_ HWND  hwnd,
_In_ HINSTANCE  hInst,
_In_ LPCSTR  pszCmdLine,
_In_ int  nCmdShow 
)

Definition at line 33 of file iernonce.cpp.

37 {
38  // iernonce may use shell32 API.
40  if (Result != S_OK && Result != S_FALSE)
41  {
42  return;
43  }
44 
46  for (UINT i = 0; i < _countof(RootKeys); ++i)
47  {
49  Instance.Run(g_bSilence);
50  }
51 
53 }
#define HKEY_CURRENT_USER
Definition: winreg.h:11
ROOT_KEY RootKeys[]
Definition: registry.c:70
#define S_FALSE
Definition: winerror.h:2357
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:426
LONG HRESULT
Definition: typedefs.h:79
#define _countof(array)
Definition: sndvol32.h:68
BOOL g_bSilence
Definition: iernonce.cpp:12
#define S_OK
Definition: intsafe.h:52
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
Definition: compobj.c:2067
unsigned int UINT
Definition: ndis.h:50
#define NULL
Definition: types.h:112
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
Definition: compobj.c:1964
IN PVOID Instance
Definition: pci.h:361
#define HKEY_LOCAL_MACHINE
Definition: winreg.h:12