Advertisement
FlyFar

DoubleAgent/OS.h

Jan 2nd, 2024
585
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.62 KB | None | 0 0
  1. #pragma once
  2.  
  3. /* Includes ******************************************************************/
  4. #include <Windows.h>
  5. #include "Status.h"
  6.  
  7. /* Types *********************************************************************/
  8. typedef enum _OS_ARCHITECTURE
  9. {
  10.     OS_ARCHITECTURE_INVALID_VALUE = -1,
  11.     OS_ARCHITECTURE_X86,
  12.     OS_ARCHITECTURE_X64,
  13.  
  14.     /* Must be last */
  15.     OS_ARCHITECTURE_COUNT
  16. } OS_ARCHITECTURE, *POS_ARCHITECTURE;
  17.  
  18. /* Function Declarations *****************************************************/
  19. /*
  20.  * Gets the operating system architecture
  21.  */
  22. DOUBLEAGENT_STATUS OS_GetArchitecture(OUT POS_ARCHITECTURE peOsArchitecture);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement