What is RpcNdr.h

前端 未结 3 771
执笔经年
执笔经年 2021-01-07 22:50

And where does Microsoft get away with

#define small char

You can\'t just add reserved words to the language and quietly include them in a pl

相关标签:
3条回答
  • 2021-01-07 23:18

    This is part of the interface definition for the RPC NDR engine (for RPC and DCOM marshalling).

    0 讨论(0)
  • 2021-01-07 23:19

    You didn't say whether you wanted to get rid of the header include or of #define.

    If you want to get rid of the include but don't know where, you could try to define the include flag in your header above where the SDK includes are listed.

    #define RpcNdr.h //find the real flag in the header
    #include "sdk.h"
    

    If it is just the #define of 'small', then how about putting this in your headers right after the list of SDK includes.

    #ifdef RpcNdr.h //find the real flag in the header
    #undef small 
    
    0 讨论(0)
  • 2021-01-07 23:28

    Well on my SDK it's described as "Definitions for stub data structures and prototypes of helper functions."

    0 讨论(0)
提交回复
热议问题