Operation Captive Reference Manual |
---|
ps_reactos —
typedef captive_KPCR; typedef captive_PKPCR; captive_PKPCR captive_KeGetCurrentKPCR (void);
typedef struct { struct /* newline to pass gtkdoc-scan */ _KTHREAD *CurrentThread; } captive_KPCR;
PCR (Processor Control Region) structure type. Returned by captive_KeGetCurrentKPCR().
This structure IS NOT binary compatible with reactos!
captive_PKPCR captive_KeGetCurrentKPCR (void);
Returns the PCR (Processor Control Region) structure for the current CPU. Currently libcaptive doesn't use multithreading and thus this function returns a constant pointer to one static structure.
Returns : | captive_PKPCR type pointer to valid captive_KPCR. This structure IS NOT binary compatible with reactos - you SHOULD NOT export this symbol for binary W32 modules. Anyone using this function is very low-level based and you would probably find many other compatibility problems afterwards - replace of such function is recommended. |
<< mm | unicode >> |