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.

25 lines
761 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: io16.h
  7. //
  8. // Contents: 16-bit generic include
  9. //
  10. // History: 18-Feb-94 DrewB Created
  11. // 07-Mar-94 BobDay Pre-adjusted STACK_PTR, prepared for
  12. // removal of other macros
  13. //
  14. //----------------------------------------------------------------------------
  15. #ifndef __IO16_H__
  16. #define __IO16_H__
  17. // Get a pointer to a _pascal stack via an argument
  18. #define PASCAL_STACK_PTR(v) ((LPVOID)((DWORD)&(v)+sizeof(v)))
  19. // Get a pointer to a _cdecl stack via an argument
  20. #define CDECL_STACK_PTR(v) ((LPVOID)(&(v)))
  21. #endif // #ifndef __IO16_H__