Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
529 B

  1. /*
  2. Copyright (c) Microsoft Corporation
  3. */
  4. #include <stdio.h>
  5. #include <stdarg.h>
  6. #include "windows.h"
  7. #include "delayimp.h"
  8. #define NUMBER_OF(x) (sizeof(x)/sizeof((x)[0]))
  9. PVOID MemAlloc(SIZE_T n);
  10. VOID MemFree(PVOID p);
  11. void strcatfW(PWSTR Buffer, SIZE_T n, PCWSTR Format, ...);
  12. HMODULE GetMyModule(VOID);
  13. void GetMyFullPathW(PWSTR Buffer, DWORD BufferSize);
  14. extern const WCHAR ServiceName[];
  15. #define ServiceTypeValue SERVICE_WIN32_OWN_PROCESS /* SERVICE_WIN32_OWN_PROCESS, SERVICE_WIN32_SHARE_PROCESS */