Source code of Windows XP (NT5)
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.

31 lines
411 B

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. rpc.c
  5. Abstract:
  6. Handy utility functions for supporting RPC
  7. Author:
  8. Sunita Shrivastava (sunitas) 22-Jan-1997
  9. Revision History:
  10. --*/
  11. #include "rpc.h"
  12. void __RPC_FAR * __RPC_API MIDL_user_allocate(size_t len)
  13. {
  14. return(LocalAlloc(LMEM_FIXED, len));
  15. }
  16. void __RPC_API MIDL_user_free(void __RPC_FAR * ptr)
  17. {
  18. LocalFree(ptr);
  19. }